- <init>
Creates a new XML document on disk.
- close
Closes the writer and release any associated resources.
- writeStartElement
Writes the start of an element.
- writeAttributeString
Writes an attribute and its associated value. You must use
#writeStartElement(String) just before.
- writeEndDocument
Writes the end of the document. This method closes any open tag, and flush the
writer.
- writeEndElementLineBreak
Writes the end of the last started element and writes a line-break.
- writeStartDocument
Writes the start of the document. This method generates the XML declaration.
- writeEndElement
Writes the end of the last started element.
- writeRawXML
Writes a chunk of raw XML (and line-breaks are normalized to platform specific
ones). If a tag is op
- writeString
Writes a string. The text is automatically escaped.
- writeElementString
Writes an element and its content.
- writeLineBreak
Writes a line-break, and if the writer is in a start tag, close it before.