- <init>
Constructs a new output format with the proper method, document type identifiers
and media type for
- setIndenting
Sets the indentation on and off. When set on, the default indentation level and
default line wrappin
- setIndent
Sets the indentation. The document will not be indented if the indentation is
set to zero. Calling #
- setLineWidth
Sets the line width. If zero then no line wrapping will occur. Calling
#setIndenting will reset this
- setOmitXMLDeclaration
Sets XML declaration omitting on and off.
- setEncoding
Sets the encoding for this output method with an EncodingInfo instance.
- setPreserveSpace
Sets space preserving as the default behavior. The default is space stripping
and all elements that
- setOmitDocumentType
Sets DOCTYPE declaration omitting on and off.
- getEncoding
Returns the specified encoding. If no encoding was specified, the default is
always "UTF-8".
- getOmitXMLDeclaration
Returns true if the XML document declaration should be ommited. The default is
false.
- setDoctype
Sets the document type public and system identifiers. Required only if the DOM
Document or SAX event
- setLineSeparator
Sets the line separator. The default is the Web line separator (\n). The
machine's line separator ca