IDocumentTraversal

IDocumentTraversal interface

DocumentTraversal contains methods that create iterators and tree-walkers 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. @since DOM Level 2

public interface IDocumentTraversal

Methods

Name Description
CreateNodeIterator(Node) Create a new NodeIterator over the subtree rooted at the specified node.
CreateNodeIterator(Node, long) Create a new NodeIterator over the subtree rooted at the specified node.
CreateNodeIterator(Node, long, INodeFilter) Create a new NodeIterator over the subtree rooted at the specified node.
CreateTreeWalker(Node) Create a new TreeWalker over the subtree rooted at the specified node.
CreateTreeWalker(Node, long) Create a new TreeWalker over the subtree rooted at the specified node.
CreateTreeWalker(Node, long, INodeFilter) Create a new TreeWalker over the subtree rooted at the specified node.

See Also