Modifier and Type | Field and Description |
---|---|
pack-priv Node | fCurrentNode
The current Node. |
private boolean | fEntityReferenceExpansion
When TRUE, the children of entites references are returned in the iterator. |
pack-priv NodeFilter | fNodeFilter
The NodeFilter reference. |
pack-priv Node | fRoot
The root Node. |
pack-priv int | fWhatToShow
The whatToShow mask. |
Access | Constructor and Description |
---|---|
public | TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)
Public constructor |
Modifier and Type | Method and Description |
---|---|
pack-priv short | |
public Node | firstChild()
Implements org. Return the first child Node from the current node, after applying filter, whatToshow. |
public Node | getCurrentNode()
Implements org. Return the current Node. |
public boolean | getExpandEntityReferences()
Implements org. Return whether children entity references are included in the iterator. |
public NodeFilter | |
pack-priv Node | |
pack-priv Node | |
pack-priv Node | |
pack-priv Node | |
pack-priv Node | |
pack-priv Node | |
pack-priv Node | |
public Node | getRoot()
Implements org. The |
public int | getWhatToShow()
Implements org. Return the whatToShow value |
public Node | lastChild()
Implements org. Return the last child Node from the current node, after applying filter, whatToshow. |
public Node | nextNode()
Implements org. Return the next Node from the current node, after applying filter, whatToshow. |
public Node | nextSibling()
Implements org. Return the next sibling Node from the current node, after applying filter, whatToshow. |
public Node | parentNode()
Implements org. Return the parent Node from the current node, after applying filter, whatToshow. |
public Node | previousNode()
Implements org. Return the previous Node from the current node, after applying filter, whatToshow. |
public Node | previousSibling()
Implements org. Return the previous sibling Node from the current node, after applying filter, whatToshow. |
public void | setCurrentNode(Node node)
Implements org. Return the current Node. |
public void |
fCurrentNode | back to summary |
---|---|
pack-priv Node fCurrentNode The current Node. |
fEntityReferenceExpansion | back to summary |
---|---|
private boolean fEntityReferenceExpansion When TRUE, the children of entites references are returned in the iterator. |
fNodeFilter | back to summary |
---|---|
pack-priv NodeFilter fNodeFilter The NodeFilter reference. |
fRoot | back to summary |
---|---|
pack-priv Node fRoot The root Node. |
fWhatToShow | back to summary |
---|---|
pack-priv int fWhatToShow The whatToShow mask. |
TreeWalkerImpl | back to summary |
---|---|
public TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion) Public constructor |
acceptNode | back to summary |
---|---|
pack-priv short acceptNode(Node node) Internal function. The node whatToShow and the filter are combined into one result. |
firstChild | back to summary |
---|---|
public Node firstChild() Implements org. Return the first child Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.
|
getCurrentNode | back to summary |
---|---|
public Node getCurrentNode() Implements org. Return the current Node. |
getExpandEntityReferences | back to summary |
---|---|
public boolean getExpandEntityReferences() Implements org. Return whether children entity references are included in the iterator. |
getFilter | back to summary |
---|---|
public NodeFilter getFilter() Implements org. Return the NodeFilter |
getFirstChild | back to summary |
---|---|
pack-priv Node getFirstChild(Node node) Internal function. Return the first child Node, from the input node after applying filter, whatToshow. The current node is not consulted or set. |
getLastChild | back to summary |
---|---|
pack-priv Node getLastChild(Node node) Internal function. Return the last child Node, from the input node after applying filter, whatToshow. The current node is not consulted or set. |
getNextSibling | back to summary |
---|---|
pack-priv Node getNextSibling(Node node) Internal function. Return the nextSibling Node, from the input node after applying filter, whatToshow. The current node is not consulted or set. |
getNextSibling | back to summary |
---|---|
pack-priv 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. The current node is not consulted or set. |
getParentNode | back to summary |
---|---|
pack-priv Node getParentNode(Node node) Internal function. Return the parent Node, from the input node after applying filter, whatToshow. The current node is not consulted or set. |
getPreviousSibling | back to summary |
---|---|
pack-priv Node getPreviousSibling(Node node) Internal function. Return the previous sibling Node, from the input node after applying filter, whatToshow. The current node is not consulted or set. |
getPreviousSibling | back to summary |
---|---|
pack-priv 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. The current node is not consulted or set. |
getRoot | back to summary |
---|---|
public Node getRoot() Implements org. Doc from org. The |
getWhatToShow | back to summary |
---|---|
public int getWhatToShow() Implements org. Return the whatToShow value |
lastChild | back to summary |
---|---|
public Node lastChild() Implements org. Return the last child Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.
|
nextNode | back to summary |
---|---|
public Node nextNode() Implements org. Return the next Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.
|
nextSibling | back to summary |
---|---|
public Node nextSibling() Implements org. Return the next sibling Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.
|
parentNode | back to summary |
---|---|
public Node parentNode() Implements org. Return the parent Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.
|
previousNode | back to summary |
---|---|
public Node previousNode() Implements org. Return the previous Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.
|
previousSibling | back to summary |
---|---|
public Node previousSibling() Implements org. Return the previous sibling Node from the current node, after applying filter, whatToshow. If result is not null, set the current Node.
|
setCurrentNode | back to summary |
---|---|
public void setCurrentNode(Node node) Implements org. Return the current Node. |
setWhatShow | back to summary |
---|---|
public void setWhatShow(int whatToShow) |