Package-level declarations
Types
A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section.
The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract.
Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.
Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made.
A Node containing a doctype.
An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.
A type returned by some APIs which contains a list of DOMString (strings).
Used by the dataset HTML attribute to represent data for custom attributes added to elements.
A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive.
Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element.
Union of:
Union of:
A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array.
Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way.
An iterator over the members of a list of the nodes in a subtree of the DOM. The nodes will be returned in document order.
A processing instruction embeds application-specific instructions in XML which can be ignored by other applications that don't recognize them.
The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
The nodes of a document subtree and a position within them.