Package org.jdom2.output
package org.jdom2.output
Classes to output JDOM documents to various destinations. The most common
outputter class is XMLOutputter which outputs a document (or part of a
document) as a stream of bytes. Format and EscapeStrategy support the
XMLOutputter in letting you choose how the output should be formatted and how
special characters should be escaped.
SAXOutputter lets you output as a stream of SAX events (handy especially in
transformations). JDOMLocator supports SAXOutputter and helps you observe the
SAX output process.
DOMOutputter lets you output a JDOM document as a DOM tree.
StAXStreamOutputter lets you output the JDOM content to an XMLStreamWriter, and
the StAXEventOutputter lets you output the JDOM content to an XMLEventWriter.
-
ClassDescriptionOutputs a JDOM
org.jdom2.Document
as a DOMorg.w3c.dom.Document
.Logic to determine which characters should be formatted as character entities.Class to encapsulate XMLOutputter format options.Class to signify how text should be handled on output.An implementation of the SAXLocator
interface that exposes the JDOM node being processed by SAXOutputter.An enumeration of common separators that are used for JDOM output.Outputs a JDOM document as a stream of SAX2 events.Outputs a JDOM document as a StAX XMLEventConsumer of bytes.Outputs a JDOM document as a StAX XMLStreamWriter of bytes.Represents a JDOM document as a StAX XMLStreamReader that can be read from.Outputs a JDOM document as a stream of bytes.