Package Name | Comment |
org.jdom |
Classes to represent the components of an XML document. The Verifier is a
special class useful in ensuring well-formedness of documents. The Parent
interface is implemented by Document and Element exposing their commonality.
The Content abstract class is extended by all the node types of a document
except Document itself.
The JDOMFactory interface and DefaultJDOMFactory standard implementation
provide advanced users with the ability to create subtypes of the org.jdom
classes.
|
org.jdom.adapters |
Classes to interface with various DOM implementations. Not generally
needed except in truly advanced situations. JAXPDOMAdapter is most commonly
used.
|
org.jdom.filter |
Classes to programmatically filter nodes of a document based on type, name,
value, or other aspects and to boolean and/or/negate these rules. Filters can
be used in methods like getContent(Filter) and getDescendants(Filter). A
sampling of generally useful filters are provided here. Alternate filters can
be user defined.
|
org.jdom.input |
Classes to build JDOM documents from various sources. The most common builder
class 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. SAXHandler provides
support for SAXBuilder. DOMBuilder lets you build from a pre-existing DOM
tree.
|
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.
|
org.jdom.transform |
Classes to help with transformations, based on the JAXP TrAX classes.
JDOMTransformer supports simple transformations with one line of code.
Advanced features are available with the JDOMSource and JDOMResult classes
that interface with TrAX.
|
org.jdom.xpath |
Support for XPath from within JDOM. XPath provides a common interface with a
pluggable back-end. The default back end is Jaxen.
|