|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.dom.TreeWalkerImpl
This class implements the TreeWalker interface.
Constructor Summary | |
TreeWalkerImpl(Node root,
int whatToShow,
NodeFilter nodeFilter,
boolean entityReferenceExpansion)
Public constructor |
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()
The root node of the TreeWalker , as specified
when it was created. |
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)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)
Method Detail |
public Node getRoot()
root
node of the TreeWalker
, as specified
when it was created.public int getWhatToShow()
public void setWhatShow(int whatToShow)
public NodeFilter getFilter()
public boolean getExpandEntityReferences()
public Node getCurrentNode()
currentNode
to null
.public void setCurrentNode(Node node)
public Node parentNode()
null
if the current node
has no parent in the TreeWalker
's logical view.public Node firstChild()
null
if the current node has no
visible children in the TreeWalker
's logical view.public Node lastChild()
null
if the current node has no
children in the TreeWalker
's logical view.public Node previousSibling()
null
if the current node has no
previous sibling. in the TreeWalker
's logical view.public Node nextSibling()
null
if the current node has no
next sibling. in the TreeWalker
's logical view.public Node previousNode()
null
if the current node has no
previous node in the TreeWalker
's logical view.public Node nextNode()
null
if the current node has no
next node in the TreeWalker
's logical view.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |