Class | Description |
---|---|
DOMBuilder |
Builds a JDOM Document from a pre-existing DOM
org.w3c.dom.Document . |
SAXBuilder |
Builds a JDOM Document using a SAX parser.
|
StAXEventBuilder |
Builds a JDOM Document from a StAX-based XMLEventReader.
|
StAXStreamBuilder |
Builds a JDOM Document from a StAX-based XMLStreamReader.
|
StAXStreamWriter |
An
XMLStreamWriter implementation that writes XML data to a new JDOM
Document . |
Exception | Description |
---|---|
JDOMParseException |
Thrown during parse errors, with information about where the parse error
occurred as well as access to the partially built document.
|
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.
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.