public interface TreeWalker
The TreeWalker
object represents the nodes of a document subtree and a position within them.
A TreeWalker can be created using the createTreeWalker()
method of the document
object.
Modifier and Type | Method and Description |
---|---|
Node |
firstChild() |
Node |
getCurrentNode() |
NodeFilter |
getFilter() |
Node |
getRoot() |
int |
getWhatToShow() |
boolean |
isExpandEntityReferences() |
Node |
lastChild() |
Node |
nextNode() |
Node |
nextSibling() |
Node |
parentNode() |
Node |
previousNode() |
Node |
previousSibling() |
void |
setCurrentNode(Node arg) |
Node getCurrentNode()
void setCurrentNode(Node arg)
boolean isExpandEntityReferences()
NodeFilter getFilter()
Node getRoot()
int getWhatToShow()
Node firstChild()
Node lastChild()
Node nextNode()
Node nextSibling()
Node parentNode()
Node previousNode()
Node previousSibling()
Copyright © 2016. All rights reserved.