Top Description Interfaces Classes
[default module]

Package org.jdom.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.

Interface Summary

Modifier and TypeInterface and Description
public interface
EscapeStrategy

Logic to determine which characters should be formatted as character entities.

Class Summary

Modifier and TypeClass and Description
public class
public class
Format

Class to encapsulate XMLOutputter format options.

public class
JDOMLocator

An implementation of the SAX Locator interface that exposes the JDOM node being processed by SAXOutputter.

pack-priv class
NamespaceStack

A non-public utility class used by both XMLOutputter and SAXOutputter to manage namespaces in a JDOM Document during output.

public class
SAXOutputter

Outputs a JDOM document as a stream of SAX2 events.

public class
XMLOutputter

Outputs a JDOM document as a stream of bytes.