- getPrettyFormat
Returns a new Format object that performs whitespace beautification with 2-space
indents, uses the U
- setLineSeparator
This will set the newline separator sequence. This method differes from
#setLineSeparator(String) sl
- getRawFormat
Returns a new Format object that performs no whitespace changes, uses the UTF-8
encoding, doesn't ex
- setEncoding
Sets the output encoding. The name should be an accepted XML encoding.
- getCompactFormat
Returns a new Format object that performs whitespace normalization, uses the
UTF-8 encoding, doesn't
- setIndent
This will set the indent String to use; this is usually a String of empty
spaces. If you pass the em
- setTextMode
This sets the text output style. Options are available as static TextMode
instances. The default is
- getIndent
Returns the indent string in use.
- getLineSeparator
Returns the current line separator.
- setExpandEmptyElements
This will set whether empty elements are expanded from to
.
- escapeAttribute
This will take the three pre-defined entities in XML 1.0 ('<', '>', and '&' -
used specifically in X
- getEncoding
Returns the configured output encoding.