# Uses of Package
nu.xom

Packages that use nu.xom
Package
Description
nu.xom
`nu.xom` is the core package of XOM that contains all the basic classes representing the different kinds of nodes: elements, attributes, comments, text nodes, and so forth.
nu.xom.canonical
`nu.xom.canonical` supports the output of Canonical XML from XOM.
nu.xom.converters
`nu.xom.converters` contains classes that convert XOM documents to other models such as SAX and DOM.
nu.xom.tests
`nu.xom.tests` contains the JUnit based test suite for XOM.
nu.xom.xinclude
`nu.xom.xinclude` supports XInclude processing of XOM documents and elements.
nu.xom.xslt
`nu.xom.xslt` connects XOM documents to TrAX-based XSLT processors.

Classes in nu.xom used by nu.xom
Class
Description
Attribute
This class represents an attribute such as `type="empty"` or `xlink:href="http://www.example.com"`.
Attribute.Type
Uses the type-safe enumeration design pattern to represent attribute types, as specified by XML DTDs.
Comment
This class represents an XML comment such as `<-- This is a comment-->`.
DocType
Represents an XML document type declaration such as `<!DOCTYPE book SYSTEM "docbookx.dtd">`.
Document
The `Document` class represents a complete XML document including its root element, prolog, and epilog.
Element
This class represents an XML element.
Elements
A read-only list of elements for traversal purposes.
IllegalAddException
Indicates an attempt to add a node in a wrong place; for instance adding a `Text` node to a `Document` object.
IllegalDataException
Indicates an attempt to set some value to malformed content; for instance by adding a string containing a null or a vertical tab to a text node, or using white space in an element name.
IllegalNameException
Indicates an attempt to assign a name that is not a legal XML name.
Namespace
Represents a namespace in scope.
Node
The generic superclass for all the contents of an XML document.
NodeFactory
Builders use a `NodeFactory` object to construct each `Node` object (`Element`, `Text`, `Attribute`, etc.) they add to the tree.
Nodes
Implements a list of nodes for traversal purposes.
ParentNode
The generic superclass for nodes that have children.
ParsingException
The generic superclass for all the checked exceptions thrown in XOM.
ProcessingInstruction
This class represents an XML processing instruction.
Text
This class represents a run of text.
ValidityException
Signals a validity error in a document being parsed.
WellformednessException
Indicates an attempt to do or create something that could not possibly be serialized in a namespace well-formed XML 1.0 document.
XMLException
The generic superclass for most runtime exceptions thrown in `nu.xom`.
XPathContext
Provides namespace prefix bindings for use in an XPath expression.
XPathException
Indicates problems with XPath syntax or evaluation.
Classes in nu.xom used by nu.xom.canonical
Class
Description
Node
The generic superclass for all the contents of an XML document.
Nodes
Implements a list of nodes for traversal purposes.
Classes in nu.xom used by nu.xom.converters
Class
Description
Attribute
This class represents an attribute such as `type="empty"` or `xlink:href="http://www.example.com"`.
Comment
This class represents an XML comment such as `<-- This is a comment-->`.
DocType
Represents an XML document type declaration such as `<!DOCTYPE book SYSTEM "docbookx.dtd">`.
Document
The `Document` class represents a complete XML document including its root element, prolog, and epilog.
Element
This class represents an XML element.
NodeFactory
Builders use a `NodeFactory` object to construct each `Node` object (`Element`, `Text`, `Attribute`, etc.) they add to the tree.
Nodes
Implements a list of nodes for traversal purposes.
ProcessingInstruction
This class represents an XML processing instruction.
Text
This class represents a run of text.
Classes in nu.xom used by nu.xom.tests
Class
Description
Attribute
This class represents an attribute such as `type="empty"` or `xlink:href="http://www.example.com"`.
Comment
This class represents an XML comment such as `<-- This is a comment-->`.
DocType
Represents an XML document type declaration such as `<!DOCTYPE book SYSTEM "docbookx.dtd">`.
Document
The `Document` class represents a complete XML document including its root element, prolog, and epilog.
Element
This class represents an XML element.
Namespace
Represents a namespace in scope.
Node
The generic superclass for all the contents of an XML document.
ProcessingInstruction
This class represents an XML processing instruction.
Text
This class represents a run of text.
Classes in nu.xom used by nu.xom.xinclude
Class
Description
Builder
This class is responsible for creating XOM `Document` objects from a URL, file, string, or input stream by reading an XML document.
Document
The `Document` class represents a complete XML document including its root element, prolog, and epilog.
ParsingException
The generic superclass for all the checked exceptions thrown in XOM.
Classes in nu.xom used by nu.xom.xslt
Class
Description
Document
The `Document` class represents a complete XML document including its root element, prolog, and epilog.
NodeFactory
Builders use a `NodeFactory` object to construct each `Node` object (`Element`, `Text`, `Attribute`, etc.) they add to the tree.
Nodes
Implements a list of nodes for traversal purposes.