JDOM 1.0 | |
Frames | No Frames |
Constructors with parameter type org.jdom.output.Format | |
This will create an XMLOutputter with the specified
format characteristics. |
Fields of type org.jdom.output.Format | |
Format | |
Format |
Methods with parameter type org.jdom.output.Format | |
void | Sets the new format logic for the outputter. |
Methods with return type org.jdom.output.Format | |
Format | Returns a new Format object that performs whitespace normalization, uses
the UTF-8 encoding, doesn't expand empty elements, includes the
declaration and encoding, and uses the default entity escape strategy. |
Format | Returns the current format in use by the outputter. |
Format | Returns a new Format object that performs whitespace beautification with
2-space indents, uses the UTF-8 encoding, doesn't expand empty elements,
includes the declaration and encoding, and uses the default entity
escape strategy. |
Format | Returns a new Format object that performs no whitespace changes, uses
the UTF-8 encoding, doesn't expand empty elements, includes the
declaration and encoding, and uses the default entity escape strategy. |
Format | Format.setEncoding(String encoding) Sets the output encoding. |
Format | Sets the EscapeStrategy to use for character escaping. |
Format | Format.setExpandEmptyElements(boolean expandEmptyElements) This will set whether empty elements are expanded from
<tagName/> to
<tagName></tagName> . |
Format | This will set the indent String to use; this
is usually a String of empty spaces. |
Format | Format.setLineSeparator(String separator) This will set the newline separator ( lineSeparator ). |
Format | Format.setOmitDeclaration(boolean omitDeclaration) This will set whether the XML declaration
( <?xml version="1.0"?gt; )
will be omitted or not. |
Format | Format.setOmitEncoding(boolean omitEncoding) This will set whether the XML declaration
( <?xml version="1.0"
encoding="UTF-8"?> )
includes the encoding of the document. |
Format | This sets the text output style. |