Library XML

Package DOM

Overview

Classes: AbstractContainerNode, AbstractNode, Attr, AttrMap, CDATASection, CharacterData, ChildNodesList, Comment, DOMBuilder, DOMException, DOMImplementation, DOMObject, DOMParser, DOMSerializer, DOMWriter, DTDMap, Document, DocumentEvent, DocumentFragment, DocumentType, Element, ElementsByTagNameList, ElementsByTagNameListNS, Entity, EntityReference, Event, EventDispatcher, EventException, EventListener, EventTarget, MutationEvent, NamedNodeMap, Node, NodeAppender, NodeFilter, NodeIterator, NodeList, Notation, ProcessingInstruction, Text, TreeWalker

Classes

class AbstractContainerNode

AbstractContainerNode is an implementation of Node that stores and manages child nodes. 

class AbstractNode

AbstractNode provides a basic implementation of the Node interface for all types of nodes that do not contain other nodes. 

class Attr

The Attr interface represents an attribute in an Element object. 

class AttrMap

 

class CDATASection

CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. 

class CharacterData

The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM. 

class ChildNodesList

 

class Comment

This interface inherits from CharacterData and represents the content of a comment, i. 

class DOMBuilder

This class builds a tree representation of an XML document, according to the W3C Document Object Model, Level 1 and 2 specifications. 

class DOMException

DOM operations only raise exceptions in "exceptional" circumstances, i. 

class DOMImplementation

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model. 

class DOMObject

The base class for all objects in the Document Object Model. 

class DOMParser

This is a convenience class that combines a DOMBuilder with a SAXParser, with the optional support of a WhitespaceFilter. 

class DOMSerializer

The DOMSerializer serializes a DOM document into a sequence of SAX events which are reported to the registered SAX event handlers. 

class DOMWriter

The DOMWriter uses a DOMSerializer with an XMLWriter to serialize a DOM document into textual XML. 

class DTDMap

This implementation of NamedNodeMap is returned by DocumentType::entities() and DocumentType::notations(). 

class Document

The Document interface represents the entire HTML or XML document. 

class DocumentEvent

The DocumentEvent interface provides a mechanism by which the user can create an Event of a type supported by the implementation. 

class DocumentFragment

DocumentFragment is a "lightweight" or "minimal" Document object. 

class DocumentType

Each Document has a doctype attribute whose value is either null or a DocumentType object. 

class Element

The Element interface represents an element in an XML document. 

class ElementsByTagNameList

 

class ElementsByTagNameListNS

 

class Entity

This interface represents an entity, either parsed or unparsed, in an XML document. 

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

class Event

The Event interface is used to provide contextual information about an event to the handler processing the event. 

class EventDispatcher

This helper class manages event listener subscriptions and event dispatching for AbstractNode. 

class EventException

Event operations may throw an EventException as specified in their method descriptions. 

class EventListener

The EventListener interface is the primary method for handling events. 

class EventTarget

The EventTarget interface is implemented by all Nodes in an implementation which supports the DOM Event Model. 

class MutationEvent

The MutationEvent interface provides specific contextual information associated with Mutation events. 

class NamedNodeMap

Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name. 

class Node

The Node interface is the primary datatype for the entire Document Object Model. 

class NodeAppender

The NodeAppender class provides a very fast way to build larger DOM documents. 

class NodeFilter

Filters are objects that know how to "filter out" nodes. 

class NodeIterator

Iterators are used to step through a set of nodes, e. 

class NodeList

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. 

class Notation

This interface represents a notation declared in the DTD. 

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

class Text

The Text interface inherits from CharacterData and represents the textual content (termed character data in XML) of an Element or Attr. 

class TreeWalker

TreeWalker objects are used to navigate a document tree or subtree using the view of the document defined by their whatToShow flags and filter (if any).