compact2
Package org.w3c.dom
Provides the interfaces for the Document Object Model (DOM).
See: Description
-
Interface Summary Interface Description Attr TheAttr
interface represents an attribute in anElement
object.CDATASection CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.CharacterData TheCharacterData
interface extends Node with a set of attributes and methods for accessing character data in the DOM.Comment This interface inherits fromCharacterData
and represents the content of a comment, i.e., all the characters between the starting '<!--
' and ending '-->
'.Document TheDocument
interface represents the entire HTML or XML document.DocumentFragment DocumentFragment
is a "lightweight" or "minimal"Document
object.DocumentType EachDocument
has adoctype
attribute whose value is eithernull
or aDocumentType
object.DOMConfiguration TheDOMConfiguration
interface represents the configuration of a document and maintains a table of recognized parameters.DOMError DOMError
is an interface that describes an error.DOMErrorHandler DOMErrorHandler
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.DOMImplementation TheDOMImplementation
interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.DOMImplementationList TheDOMImplementationList
interface provides the abstraction of an ordered collection of DOM implementations, without defining or constraining how this collection is implemented.DOMImplementationSource This interface permits a DOM implementer to supply one or more implementations, based upon requested features and versions, as specified in DOM Features.DOMLocator DOMLocator
is an interface that describes a location (e.g.DOMStringList TheDOMStringList
interface provides the abstraction of an ordered collection ofDOMString
values, without defining or constraining how this collection is implemented.Element TheElement
interface represents an element in an HTML or XML document.Entity This interface represents a known entity, either parsed or unparsed, in an XML document.EntityReference EntityReference
nodes may be used to represent an entity reference in the tree.NamedNodeMap Objects implementing theNamedNodeMap
interface are used to represent collections of nodes that can be accessed by name.NameList TheNameList
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.Node TheNode
interface is the primary datatype for the entire Document Object Model.NodeList TheNodeList
interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.Notation This interface represents a notation declared in the DTD.ProcessingInstruction TheProcessingInstruction
interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.Text TheText
interface inherits fromCharacterData
and represents the textual content (termed character data in XML) of anElement
orAttr
.TypeInfo TheTypeInfo
interface represents a type referenced fromElement
orAttr
nodes, specified in the schemas associated with the document.UserDataHandler When associating an object to a key on a node usingNode.setUserData()
the application can provide a handler that gets called when the node the object is associated to is being cloned, imported, or renamed. -
Exception Summary Exception Description DOMException 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). Supports the Document Object Model Level 2 Core APIi, Document Object Model (DOM) Level 3 Core, and Document Object Model (DOM) Level 3 Load and Save.
- Since:
- JDK1.4
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.