Package org.jdom2.input


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
    Description
    Builds a JDOM Document from a pre-existing DOM org.w3c.dom.Document.
    Thrown during parse errors, with information about where the parse error occurred as well as access to the partially built document.
    Builds a JDOM Document using a SAX parser.
    Builds a JDOM Document from a StAX-based XMLEventReader.
    Builds a JDOM Document from a StAX-based XMLStreamReader.
    An XMLStreamWriter implementation that writes XML data to a new JDOM Document.