Package org.w3c.dom

Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing.

See:

 

Interface Summary

Attr The Attr interface represents an attribute in an Element object.
CDATASection CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
CharacterData The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM.
Comment This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!--' and ending '-->'.
Document The Document interface represents the entire HTML or XML document.
DocumentFragment DocumentFragment is a "lightweight" or "minimal" Document object.
DocumentType Each Document has a doctype attribute whose value is either null or a DocumentType object.
DOMImplementation The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
Element The Element interface represents an element in an HTML or XML document.
Entity Represents an entity, either parsed or unparsed, in an XML document.
EntityReference EntityReference objects may be inserted into the structure model when an entity reference is in the source document, or when the user wishes to insert an entity reference.
NamedNodeMap Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name.
Node The Node interface is the primary datatype for the entire Document Object Model.
NodeList The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.
Notation Represents a notation declared in the DTD.
ProcessingInstruction The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
Text The Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr.
 

 

Exception Summary

DOMException top>DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).
 

 

Package org.w3c.dom Description

Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing. The Document Object Model Level 2 Core API allows programs to dynamically access and update the content and structure of documents. See the specification for more information.

Since:
JDK1.4