org.apache.xerces.dom
Class TreeWalkerImpl
java.lang.Object
org.apache.xerces.dom.TreeWalkerImpl
- TreeWalker
public class TreeWalkerImpl
extends java.lang.Object
implements TreeWalker
This class implements the TreeWalker interface.
$Id: TreeWalkerImpl.java,v 1.10 2004/10/05 17:12:51 mrglavas Exp $TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion) - Public constructor
|
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)
|
TreeWalkerImpl
public TreeWalkerImpl(Node root,
int whatToShow,
NodeFilter nodeFilter,
boolean entityReferenceExpansion)
Public constructor
firstChild
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.
getCurrentNode
public Node getCurrentNode()
Return the current Node.
getExpandEntityReferences
public boolean getExpandEntityReferences()
Return whether children entity references are included in the iterator.
getFilter
public NodeFilter getFilter()
Return the NodeFilter
getRoot
public Node getRoot()
getWhatToShow
public int getWhatToShow()
Return the whatToShow value
lastChild
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.
nextNode
public Node nextNode()
Return the next Node from the current node,
after applying filter, whatToshow.
If result is not null, set the current Node.
nextSibling
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.
parentNode
public Node parentNode()
Return the parent Node from the current node,
after applying filter, whatToshow.
If result is not null, set the current Node.
previousNode
public Node previousNode()
Return the previous Node from the current node,
after applying filter, whatToshow.
If result is not null, set the current Node.
previousSibling
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.
setCurrentNode
public void setCurrentNode(Node node)
Return the current Node.
setWhatShow
public void setWhatShow(int whatToShow)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.