Package nu.xom


package 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. It also contains the basic classes for parsing and serializing XML documents, as well as the various exception classes representing the different things that can go wrong while working with XOM.

Since:
1.0
  • Class
    Description
    This class represents an attribute such as type="empty" or xlink:href="http://www.example.com".
    Uses the type-safe enumeration design pattern to represent attribute types, as specified by XML DTDs.
    This class is responsible for creating XOM Document objects from a URL, file, string, or input stream by reading an XML document.
    This class represents an XML comment such as <-- This is a comment-->.
    Indicates an attempt to insert an ancestor element as one of its own descendants.
    Represents an XML document type declaration such as <!DOCTYPE book SYSTEM "docbookx.dtd">.
    The Document class represents a complete XML document including its root element, prolog, and epilog.
    This class represents an XML element.
    A read-only list of elements for traversal purposes.
    Indicates an attempt to add a node in a wrong place; for instance adding a Text node to a Document object.
    Indicates an attempt to create text content that is not allowed in XML 1.0.
    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.
    Indicates an attempt to assign a name that is not a legal XML name.
    Indicates an attempt to assign a processing instruction target that is not a legal XML 1.0 processing instruction target.
    Indicates that a string intended for use as a URI or URI reference (typically a namespace name or a base URI) is not syntactically correct according to RFC 3986.
    Indicates an attempt to add a node that already has a parent to the same or a different parent.
    Represents a namespace in scope.
    Signals an attempt to set a namespace in a way that conflicts with an existing namespace; for instance, adding an attribute to an element that has the same prefix as the element but maps it to a different URI.
    The generic superclass for all the contents of an XML document.
    Builders use a NodeFactory object to construct each Node object (Element, Text, Attribute, etc.) they add to the tree.
    Implements a list of nodes for traversal purposes.
    Indicates that an attribute with a certain name and/or namespace does not exist.
    Indicates that a child with a certain name and/or namespace does not exist.
    The generic superclass for nodes that have children.
    The generic superclass for all the checked exceptions thrown in XOM.
    This class represents an XML processing instruction.
    Outputs a Document object in a specific encoding using various options for controlling white space, normalization, indenting, line breaking, and base URIs.
    This class represents a run of text.
    Thrown when serializing documents that contain characters not available in the current encoding, and which cannot be escaped (for instance, because they're in an element name or processing instruction data).
    Signals a validity error in a document being parsed.
    Indicates an attempt to do or create something that could not possibly be serialized in a namespace well-formed XML 1.0 document.
    The generic superclass for most runtime exceptions thrown in nu.xom.
    Provides namespace prefix bindings for use in an XPath expression.
    Indicates problems with XPath syntax or evaluation.
    Indicates that an XPath query returned a non-node-set.