- <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
- setEncoding
Sets the encoding for this output method. If no encoding was specified, the
default is always "UTF-8
- setOmitXMLDeclaration
Sets XML declaration omitting on and off.
- getOmitDocumentType
Returns true if the DOCTYPE declaration should be ommited. The default is false.
- getPreserveEmptyAttributes
Returns the preserveEmptyAttribute flag. If flag is false, then' attributes with
empty string values
- getDoctypePublic
Returns the specified document type public identifier, or null.
- getDoctypeSystem
Returns the specified document type system identifier, or null.
- getEncoding
Returns the specified encoding. If no encoding was specified, the default is
always "UTF-8".
- getEncodingInfo
Returns an EncodingInfo instance for the encoding.