Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.w3c.dom.traversal: Javadoc index of package org.w3c.dom.traversal.

Package Samples:

org.w3c.dom.traversal: This package contains the DOM Level 3 Core interfaces.  


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). Any function which performs navigation using a TreeWalker will automatically support any view defined by a TreeWalker . Omitting nodes from the logical view of a subtree can result in a structure that is substantially different from the same subtree in the complete, unfiltered document. Nodes that are siblings in the TreeWalker view may be children of different, widely separated nodes in the original view. For instance, consider a NodeFilter that ...
NodeFilter: Filters are objects that know how to "filter out" nodes. If a NodeIterator or TreeWalker is given a NodeFilter , it applies the filter before it returns the next node. If the filter says to accept the node, the traversal logic returns it; otherwise, traversal looks for the next node and pretends that the node that was rejected was not there. The DOM does not provide any filters. NodeFilter is just an interface that users can implement to provide their own filters. NodeFilters do not need to know how to traverse from node to node, nor do they need to know anything about the data structure that is ...
NodeIterator: NodeIterators are used to step through a set of nodes, e.g. the set of nodes in a NodeList , the document subtree governed by a particular Node , the results of a query, or any other set of nodes. The set of nodes to be iterated is determined by the implementation of the NodeIterator . DOM Level 2 specifies a single NodeIterator implementation for document-order traversal of a document subtree. Instances of these NodeIterators are created by calling DocumentTraversal .createNodeIterator() . See also the Document Object Model (DOM) Level 2 Traversal and Range Specification .
DocumentTraversal: DocumentTraversal contains methods that create NodeIterators and TreeWalkers to traverse a node and its children in document order (depth first, pre-order traversal, which is equivalent to the order in which the start tags occur in the text representation of the document). In DOMs which support the Traversal feature, DocumentTraversal will be implemented by the same objects that implement the Document interface. See also the Document Object Model (DOM) Level 2 Traversal and Range Specification .

Home | Contact Us | Privacy Policy | Terms of Service