Package org.w3c.dom.traversal

Provides interfaces for DOM Level 2 Traversal. Refer to the Document Object Model (DOM) Level 2 Traversal and Range Specification, the Traversal module contains specialized interfaces dedicated to traversing the document structure.

Since:
1.5
Interface Description
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).

NodeFilter

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

NodeIterator

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

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

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.xml/org/w3c/dom/traversal/package-summary.html