Method Summary |
|
public void | close() |
public void | flush() |
public CharSequence | getPrefix(CharSequence uri) |
public Object | getProperty(String name) |
public void | reset() |
public void | setAutomaticEmptyElements(boolean automaticEmptyElements) Requires this writer to automatically output empty elements when a
start element is immediately followed by matching end element
(default false ). |
public void | setDefaultNamespace(CharSequence uri) |
public void | setIndentation(String indentation) Specifies the indentation string; non-null indentation
forces the writer to write elements into separate lines
(default null ). |
public void | setOutput(OutputStream out) Sets the output stream destination for this XML stream writer
(UTF-8 encoding). |
public void | setOutput(OutputStream out, String encoding) Sets the output stream destination and encoding for this XML stream
writer. |
public void | setOutput(Writer writer) Sets the writer output destination for this XML stream writer. |
public void | setPrefix(CharSequence prefix, CharSequence uri) |
public void | setRepairingNamespaces(boolean isRepairingNamespaces) Requires this writer to create a new prefix when a namespace has none
(default false ). |
public void | setRepairingPrefix(String repairingPrefix) Specifies the prefix to be append by a trailing part
(a sequence number) in order to make it unique to be usable as
a temporary non-colliding prefix when repairing namespaces
(default "ns" ). |
public void | writeAttribute(CharSequence localName, CharSequence value) |
public void | writeAttribute(CharSequence namespaceURI, CharSequence localName, CharSequence value) |
public void | writeAttribute(CharSequence prefix, CharSequence namespaceURI, CharSequence localName, CharSequence value) |
public void | writeCData(CharSequence data) |
public void | writeCharacters(CharSequence text) |
public void | writeCharacters(char[] text, int start, int length) |
public void | writeComment(CharSequence data) |
public void | writeDTD(CharSequence dtd) |
public void | writeDefaultNamespace(CharSequence namespaceURI) |
public void | writeEmptyElement(CharSequence localName) |
public void | writeEmptyElement(CharSequence namespaceURI, CharSequence localName) |
public void | writeEmptyElement(CharSequence prefix, CharSequence localName, CharSequence namespaceURI) |
public void | writeEndDocument() |
public void | writeEndElement() |
public void | writeEntityRef(CharSequence name) |
public void | writeNamespace(CharSequence prefix, CharSequence namespaceURI) |
public void | writeProcessingInstruction(CharSequence target) |
public void | writeProcessingInstruction(CharSequence target, CharSequence data) |
public void | writeStartDocument() |
public void | writeStartDocument(CharSequence version) |
public void | writeStartDocument(CharSequence encoding, CharSequence version) |
public void | writeStartElement(CharSequence localName) |
public void | writeStartElement(CharSequence namespaceURI, CharSequence localName) |
public void | writeStartElement(CharSequence prefix, CharSequence localName, CharSequence namespaceURI) |