org.apache.xerces.dom
Class TreeWalkerImpl
public
class
TreeWalkerImpl
extends Object
implements TreeWalker
This class implements the TreeWalker interface.
Version: $Id: TreeWalkerImpl.java,v 1.10 2004/10/05 17:12:51 mrglavas Exp $
UNKNOWN:
Method Summary |
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) |
public TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)
Public constructor
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)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.