- <init>
Create a new XML writer.Write to the writer provided.
- setHeader
Sets the header string. This string will be written right after the xml
declaration without any esca
- setXmlDecl
Set whether the writer should print out the XML declaration ( ). This option is
set to true by defau
- dataElement
Write an element with character data content.This is a convenience method to
write a complete elemen
- endElement
Write an end tag. Pass the event on down the filter chain for further
processing.
- startElement
Write a start tag. Pass the event on down the filter chain for further
processing.
- characters
Write character data. Pass the event on down the filter chain for further
processing.
- flush
Flush the output.This method flushes the output stream. It is especially useful
when you need to mak
- init
Internal initialization method.All of the public constructors invoke this
method.
- reset
Reset the writer.This method is especially useful if the writer throws an
exception before it is fin
- setOutput
Set a new output destination for the document.
- write
Write a raw string.