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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
serialize
(Document doc, OutputStream out) void
void
setEncoding
(String encoding) void
setIndent
(int numSpaces) void
setLineSeparator
(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
-