Top Description Classes
[default module]

Package org.jdom2.input


Classes to build JDOM documents from various sources.

The most commonly used builder is SAXBuilder which constructs a JDOM document using a SAX parser and can pull content from files, streams, sockets, readers, and so on. It can use any underlying SAX parser to handle the parsing chores.

DOMBuilder lets you build JDOM content from existing org.w3c.dom.* instances.

The StAXStreamBuilder and StAXEventBuilder classes allow you to build JDOM content from StAX-based XMLStreamReader and XMLEventReader instances.

Class Summary

Modifier and TypeClass and Description
public class
DOMBuilder

Builds a JDOM Document from a pre-existing DOM org.w3c.dom.Document.

public class
JDOMParseException

Thrown during parse errors, with information about where the parse error occurred as well as access to the partially built document.

public class
SAXBuilder

Builds a JDOM Document using a SAX parser.

public class
StAXEventBuilder

Builds a JDOM Document from a StAX-based XMLEventReader.

public class
StAXStreamBuilder

Builds a JDOM Document from a StAX-based XMLStreamReader.

public class
StAXStreamWriter

An XMLStreamWriter implementation that writes XML data to a new JDOM Document.