|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.TreeWalkerImpl
public class 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 |
|---|
equals, 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()
TreeWalkerroot node of the TreeWalker, as specified
when it was created.
getRoot in interface TreeWalkerpublic int getWhatToShow()
getWhatToShow in interface TreeWalkerpublic void setWhatShow(int whatToShow)
public NodeFilter getFilter()
getFilter in interface TreeWalkerpublic boolean getExpandEntityReferences()
getExpandEntityReferences in interface TreeWalkerpublic Node getCurrentNode()
getCurrentNode in interface TreeWalkerpublic void setCurrentNode(Node node)
setCurrentNode in interface TreeWalkerpublic Node parentNode()
parentNode in interface TreeWalkernull if the current node
has no parent in the TreeWalker's logical view.public Node firstChild()
firstChild in interface TreeWalkernull if the current node has no
visible children in the TreeWalker's logical view.public Node lastChild()
lastChild in interface TreeWalkernull if the current node has no
children in the TreeWalker's logical view.public Node previousSibling()
previousSibling in interface TreeWalkernull if the current node has no
previous sibling. in the TreeWalker's logical view.public Node nextSibling()
nextSibling in interface TreeWalkernull if the current node has no
next sibling. in the TreeWalker's logical view.public Node previousNode()
previousNode in interface TreeWalkernull if the current node has no
previous node in the TreeWalker's logical view.public Node nextNode()
nextNode in interface TreeWalkernull if the current node has no
next node in the TreeWalker's logical view.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||