public class

TreeWalkerImpl

extends Object
implements TreeWalker
java.lang.Object
   ↳ org.apache.xerces.dom.TreeWalkerImpl

Class Overview

This class implements the TreeWalker interface. @xerces.internal

Summary

Public Constructors
TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)
Public constructor
Public Methods
Node firstChild()
Return the first child Node from the current node, after applying filter, whatToshow.
Node getCurrentNode()
Return the current Node.
boolean getExpandEntityReferences()
Return whether children entity references are included in the iterator.
NodeFilter getFilter()
Return the NodeFilter
Node getRoot()
int getWhatToShow()
Return the whatToShow value
Node lastChild()
Return the last child Node from the current node, after applying filter, whatToshow.
Node nextNode()
Return the next Node from the current node, after applying filter, whatToshow.
Node nextSibling()
Return the next sibling Node from the current node, after applying filter, whatToshow.
Node parentNode()
Return the parent Node from the current node, after applying filter, whatToshow.
Node previousNode()
Return the previous Node from the current node, after applying filter, whatToshow.
Node previousSibling()
Return the previous sibling Node from the current node, after applying filter, whatToshow.
void setCurrentNode(Node node)
Return the current Node.
void setWhatShow(int whatToShow)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.w3c.dom.traversal.TreeWalker

Public Constructors

public TreeWalkerImpl (Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)

Public constructor

Public Methods

public Node firstChild ()

Return the first child Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.

public Node getCurrentNode ()

Return the current Node.

public boolean getExpandEntityReferences ()

Return whether children entity references are included in the iterator.

public NodeFilter getFilter ()

Return the NodeFilter

public Node getRoot ()

public int getWhatToShow ()

Return the whatToShow value

public Node lastChild ()

Return the last child Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.

public Node nextNode ()

Return the next Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.

public Node nextSibling ()

Return the next sibling Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.

public Node parentNode ()

Return the parent Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.

public Node previousNode ()

Return the previous Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.

public Node previousSibling ()

Return the previous sibling Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.

public void setCurrentNode (Node node)

Return the current Node.

public void setWhatShow (int whatToShow)