Top Description Interfaces Classes
[default module]

Package 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.

Interface Summary

Modifier and TypeInterface and Description
public interface
JDOMFactory

An interface to be used by builders when constructing JDOM objects.

public interface
Parent

Superclass for JDOM objects which are allowed to contain Content content.

Class Summary

Modifier and TypeClass and Description
public class
Attribute

An XML attribute.

pack-priv class
AttributeList

AttributeList represents legal JDOM Attribute content.

public class
CDATA

An XML CDATA section.

public class
Comment

An XML comment.

public abstract class
Content

Superclass for JDOM objects which can be legal child content of org.jdom.Parent nodes.

pack-priv class
ContentList

A non-public list implementation holding only legal JDOM content, including content for Document or Element nodes.

public class
DataConversionException

Thrown when a data conversion from a string to value type fails, such as can happen with the Attribute convenience getter functions.

public class
DefaultJDOMFactory

Creates the standard top-level JDOM classes (Element, Document, Comment, etc).

pack-priv class
DescendantIterator

Traverse all a parent's descendants (all children at any level below the parent).

public class
DocType

An XML DOCTYPE declaration.

public class
Document

An XML document.

public class
Element

An XML element.

public class
EntityRef

An XML entity reference.

pack-priv class
FilterIterator

Traverse a parent's children that match the supplied filter.

public class
IllegalAddException

Thrown when trying to add a illegal object to a JDOM construct.

public class
IllegalDataException

Thrown when illegal text is supplied to a JDOM construct.

public class
IllegalNameException

Thrown when a name is supplied in construction of a JDOM construct whose where the name breaks XML naming conventions.

public class
IllegalTargetException

Thrown when a target is supplied in construction of a JDOM ProcessingInstruction, and that name breaks XML naming conventions.

public class
JDOMException

The top level exception that JDOM classes can throw.

public class
Namespace

An XML namespace representation, as well as a factory for creating XML namespace objects.

pack-priv class
NamespaceKey

Key for storing a namespace representation in a map.

public class
ProcessingInstruction

An XML processing instruction.

public class
Text

Character-based XML content.

public class
UncheckedJDOMFactory

Special factory for building documents without any content or structure checking.

public class
Verifier

A utility class to handle well-formedness checks on names, data, and other verification tasks for JDOM.