Package jadex.xml.writer
Class XMLWriterFactory
- java.lang.Object
-
- jadex.xml.writer.XMLWriterFactory
-
- Direct Known Subclasses:
XMLWriterFactoryDesktop
public abstract class XMLWriterFactory extends java.lang.Object
Factory to create XML Writers.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
XMLWriterFactory()
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AWriter
createWriter()
Create a new reader (with genids=true and indent=true).abstract AWriter
createWriter(boolean genIds)
Create an XMLWRiterabstract AWriter
createWriter(boolean genids, boolean indents)
Creates a new default XML Reader.abstract AWriter
createWriter(boolean genids, boolean indents, boolean newline)
Creates a new default XML Reader.static XMLWriterFactory
getInstance()
Returns the instance of this factory.
-
-
-
Method Detail
-
getInstance
public static XMLWriterFactory getInstance()
Returns the instance of this factory.- Returns:
- the factory instance
-
createWriter
public abstract AWriter createWriter()
Create a new reader (with genids=true and indent=true).
-
createWriter
public abstract AWriter createWriter(boolean genIds)
Create an XMLWRiter- Parameters:
genIds
- flag for generating ids.- Returns:
- the writer
-
createWriter
public abstract AWriter createWriter(boolean genids, boolean indents)
Creates a new default XML Reader.- Parameters:
genids
-indents
-- Returns:
- reader
-
createWriter
public abstract AWriter createWriter(boolean genids, boolean indents, boolean newline)
Creates a new default XML Reader.- Parameters:
genids
-indents
-- Returns:
- reader
-
-