| java.lang.Object org.apache.xerces.dom.TreeWalkerImpl
TreeWalkerImpl | public class TreeWalkerImpl implements TreeWalker(Code) | | This class implements the TreeWalker interface.
|
Method Summary | |
short | acceptNode(Node node) Internal function. | public Node | firstChild() Return the first child Node from the current node,
after applying filter, whatToshow. | public Node | getCurrentNode() Return the current Node. | public boolean | getExpandEntityReferences() Return whether children entity references are included in the iterator. | public NodeFilter | getFilter() | Node | getFirstChild(Node node) Internal function. | Node | getLastChild(Node node) Internal function. | Node | getNextSibling(Node node) Internal function. | Node | getNextSibling(Node node, Node root) Internal function.
Return the nextSibling Node, from the input node
after applying filter, whatToshow.
NEVER TRAVERSES ABOVE THE SPECIFIED ROOT NODE. | Node | getParentNode(Node node) Internal function. | Node | getPreviousSibling(Node node) Internal function. | Node | getPreviousSibling(Node node, Node root) Internal function.
Return the previousSibling Node, from the input node
after applying filter, whatToshow.
NEVER TRAVERSES ABOVE THE SPECIFIED ROOT NODE. | public Node | getRoot() | public int | getWhatToShow() | public Node | lastChild() Return the last child Node from the current node,
after applying filter, whatToshow. | public Node | nextNode() Return the next Node from the current node,
after applying filter, whatToshow. | public Node | nextSibling() Return the next sibling Node from the current node,
after applying filter, whatToshow. | public Node | parentNode() Return the parent Node from the current node,
after applying filter, whatToshow. | public Node | previousNode() Return the previous Node from the current node,
after applying filter, whatToshow. | public Node | previousSibling() Return the previous sibling Node from the current node,
after applying filter, whatToshow. | public void | setCurrentNode(Node node) Return the current Node. | public void | setWhatShow(int whatToShow) |
fCurrentNode | Node fCurrentNode(Code) | | The current Node.
|
fWhatToShow | int fWhatToShow(Code) | | The whatToShow mask.
|
TreeWalkerImpl | public TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)(Code) | | Public constructor
|
acceptNode | short acceptNode(Node node)(Code) | | Internal function.
The node whatToShow and the filter are combined into one result.
|
firstChild | public Node firstChild()(Code) | | 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()(Code) | | Return the current Node.
|
getExpandEntityReferences | public boolean getExpandEntityReferences()(Code) | | Return whether children entity references are included in the iterator.
|
getFirstChild | Node getFirstChild(Node node)(Code) | | Internal function.
Return the first child Node, from the input node
after applying filter, whatToshow.
The current node is not consulted or set.
|
getLastChild | Node getLastChild(Node node)(Code) | | Internal function.
Return the last child Node, from the input node
after applying filter, whatToshow.
The current node is not consulted or set.
|
getNextSibling | Node getNextSibling(Node node)(Code) | | Internal function.
Return the nextSibling Node, from the input node
after applying filter, whatToshow.
The current node is not consulted or set.
|
getNextSibling | Node getNextSibling(Node node, Node root)(Code) | | Internal function.
Return the nextSibling Node, from the input node
after applying filter, whatToshow.
NEVER TRAVERSES ABOVE THE SPECIFIED ROOT NODE.
The current node is not consulted or set.
|
getParentNode | Node getParentNode(Node node)(Code) | | Internal function.
Return the parent Node, from the input node
after applying filter, whatToshow.
The current node is not consulted or set.
|
getPreviousSibling | Node getPreviousSibling(Node node)(Code) | | Internal function.
Return the previous sibling Node, from the input node
after applying filter, whatToshow.
The current node is not consulted or set.
|
getPreviousSibling | Node getPreviousSibling(Node node, Node root)(Code) | | Internal function.
Return the previousSibling Node, from the input node
after applying filter, whatToshow.
NEVER TRAVERSES ABOVE THE SPECIFIED ROOT NODE.
The current node is not consulted or set.
|
getWhatToShow | public int getWhatToShow()(Code) | | Return the whatToShow value
|
lastChild | public Node lastChild()(Code) | | 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()(Code) | | 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()(Code) | | 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()(Code) | | 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()(Code) | | 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()(Code) | | 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)(Code) | | Return the current Node.
|
setWhatShow | public void setWhatShow(int whatToShow)(Code) | | |
|
|