|
|||||||||
| 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(org.w3c.dom.Node root,
int whatToShow,
org.w3c.dom.traversal.NodeFilter nodeFilter,
boolean entityReferenceExpansion)
Public constructor |
|
| Method Summary | |
org.w3c.dom.Node |
firstChild()
Return the first child Node from the current node, after applying filter, whatToshow. |
org.w3c.dom.Node |
getCurrentNode()
Return the current Node. |
boolean |
getExpandEntityReferences()
Return whether children entity references are included in the iterator. |
org.w3c.dom.traversal.NodeFilter |
getFilter()
Return the NodeFilter |
org.w3c.dom.Node |
getRoot()
The root node of the TreeWalker, as specified
when it was created. |
int |
getWhatToShow()
Return the whatToShow value |
org.w3c.dom.Node |
lastChild()
Return the last child Node from the current node, after applying filter, whatToshow. |
org.w3c.dom.Node |
nextNode()
Return the next Node from the current node, after applying filter, whatToshow. |
org.w3c.dom.Node |
nextSibling()
Return the next sibling Node from the current node, after applying filter, whatToshow. |
org.w3c.dom.Node |
parentNode()
Return the parent Node from the current node, after applying filter, whatToshow. |
org.w3c.dom.Node |
previousNode()
Return the previous Node from the current node, after applying filter, whatToshow. |
org.w3c.dom.Node |
previousSibling()
Return the previous sibling Node from the current node, after applying filter, whatToshow. |
void |
setCurrentNode(org.w3c.dom.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(org.w3c.dom.Node root,
int whatToShow,
org.w3c.dom.traversal.NodeFilter nodeFilter,
boolean entityReferenceExpansion)
| Method Detail |
public org.w3c.dom.Node getRoot()
org.w3c.dom.traversal.TreeWalkerroot node of the TreeWalker, as specified
when it was created.getRoot in interface org.w3c.dom.traversal.TreeWalkerpublic int getWhatToShow()
getWhatToShow in interface org.w3c.dom.traversal.TreeWalkerpublic void setWhatShow(int whatToShow)
public org.w3c.dom.traversal.NodeFilter getFilter()
getFilter in interface org.w3c.dom.traversal.TreeWalkerpublic boolean getExpandEntityReferences()
getExpandEntityReferences in interface org.w3c.dom.traversal.TreeWalkerpublic org.w3c.dom.Node getCurrentNode()
getCurrentNode in interface org.w3c.dom.traversal.TreeWalkerpublic void setCurrentNode(org.w3c.dom.Node node)
setCurrentNode in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkerorg.w3c.dom.DOMException - NOT_SUPPORTED_ERR: Raised if an attempt is made to set
currentNode to null.public org.w3c.dom.Node parentNode()
parentNode in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkernull if the current node
has no parent in the TreeWalker's logical view.public org.w3c.dom.Node firstChild()
firstChild in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkernull if the current node has no
visible children in the TreeWalker's logical view.public org.w3c.dom.Node lastChild()
lastChild in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkernull if the current node has no
children in the TreeWalker's logical view.public org.w3c.dom.Node previousSibling()
previousSibling in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkernull if the current node has no
previous sibling. in the TreeWalker's logical view.public org.w3c.dom.Node nextSibling()
nextSibling in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkernull if the current node has no
next sibling. in the TreeWalker's logical view.public org.w3c.dom.Node previousNode()
previousNode in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkernull if the current node has no
previous node in the TreeWalker's logical view.public org.w3c.dom.Node nextNode()
nextNode in interface org.w3c.dom.traversal.TreeWalkerorg.w3c.dom.traversal.TreeWalkernull 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 | ||||||||