Since: API Level 1
package

org.w3c.dom

Classes | Description

Provides the official W3C Java bindings for the Document Object Model, level 2 core.

more...

Interfaces

AttrThe Attr interface represents an attribute in an Element object. 
CDATASectionCDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. 
CharacterDataThe CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM. 
CommentThis interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting ' <!--' and ending '-->'. 
DocumentThe Document interface represents the entire HTML or XML document. 
DocumentFragmentDocumentFragment is a "lightweight" or "minimal" Document object. 
DocumentTypeEach Document has a doctype attribute whose value is either null or a DocumentType object. 
DOMConfigurationThe DOMConfiguration interface represents the configuration of a document and maintains a table of recognized parameters. 
DOMErrorDOMError is an interface that describes an error. 
DOMErrorHandlerDOMErrorHandler is a callback interface that the DOM implementation can call when reporting errors that happens while processing XML data, or when doing some other processing (e.g. 
DOMImplementationThe DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model. 
DOMImplementationListThe DOMImplementationList interface provides the abstraction of an ordered collection of DOM implementations, without defining or constraining how this collection is implemented. 
DOMImplementationSourceThis interface permits a DOM implementer to supply one or more implementations, based upon requested features and versions, as specified in . 
DOMLocatorDOMLocator is an interface that describes a location (e.g. 
DOMStringListThe DOMStringList interface provides the abstraction of an ordered collection of DOMString values, without defining or constraining how this collection is implemented. 
ElementThe Element interface represents an element in an HTML or XML document. 
EntityThis interface represents a known entity, either parsed or unparsed, in an XML document. 
EntityReferenceEntityReference nodes may be used to represent an entity reference in the tree. 
NamedNodeMapObjects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name. 
NameListThe NameList interface provides the abstraction of an ordered collection of parallel pairs of name and namespace values (which could be null values), without defining or constraining how this collection is implemented. 
NodeThe Node interface is the primary datatype for the entire Document Object Model. 
NodeListThe NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. 
NotationThis interface represents a notation declared in the DTD. 
ProcessingInstructionThe ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document. 
TextThe Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr
TypeInfoThe TypeInfo interface represents a type referenced from Element or Attr nodes, specified in the schemas associated with the document. 
UserDataHandlerWhen associating an object to a key on a node using Node.setUserData() the application can provide a handler that gets called when the node the object is associated to is being cloned, imported, or renamed. 

Exceptions

DOMExceptionDOM 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).