Package com.ardor3d.util.export.xml
Class DOMSerializer
java.lang.Object
com.ardor3d.util.export.xml.DOMSerializer
The DOMSerializer was based primarily off the DOMSerializer.java class from the "Java and XML" 3rd Edition book by
Brett McLaughlin, and Justin Edelson. Some modifications were made to support formatting of elements and attributes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidserialize(Document doc, OutputStream out) voidvoidsetEncoding(String encoding) voidsetIndent(int numSpaces) voidsetLineSeparator(String lineSeparator)
-
Constructor Details
-
DOMSerializer
public DOMSerializer()
-
-
Method Details
-
setLineSeparator
-
setEncoding
-
setIndent
public void setIndent(int numSpaces) -
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-