XercesDOMAdapater
This class defines wrapper behavior for obtaining a DOM
Document object from a Apache Xerces DOM parser.
XML4JDOMAdapter
This class defines wrapper behavior for obtaining a DOM
Document object from an IBM XML4J DOM parser.
XMLOutputter takes a JDOM tree and formats it to a
stream as XML.
This will create an XMLOutputter with no additional
whitespace (indent or newlines) added; the whitespace from the
element text content is fully preserved.
This will create an XMLOutputter with all the
options as set in the given XMLOutputter.
This will create an XMLOutputter with the given indent
added but no new lines added; all whitespace from the element text
content is included as well.
This will create an XMLOutputter with the given indent
that prints newlines only if newlines is
true; all whitespace from the element text content is
included as well.
This will create an XMLOutputter with
the given indent and new lines printing only if
newlines is true, and encoding format
encoding.