TreeWalker Class

TreeWalker class

A tree walker.

public class TreeWalker : Traversal

Properties

NameDescription
[getCurrentNode]
[setCurrentNode] The Current node property
getFilter Defines the interface for get Filter.
getRoot Defines the interface for get Root node.

Methods

NameDescription
dispose()Defines the interface for dispose.
firstChild()Defines the interface for get first child node.
lastChild()Defines the interface for get last child node.
nextNode()Defines the interface for get next node.
nextSibling()Defines the interface for get next sibling node.
parentNode()Defines the interface for get parent node.
previousNode()Defines the interface for get previous node.
previousSibling()Defines the interface for get previous sibling node.

See Also