|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.apache.xerces.dom.TreeWalkerImpl
This class implements the TreeWalker interface.
Field Summary | |
(package private) Node |
fCurrentNode
The current Node. |
(package private) NodeFilter |
fNodeFilter
The NodeFilter reference. |
(package private) Node |
fRoot
The root Node. |
(package private) int |
fWhatToShow
The whatToShow mask. |
Constructor Summary | |
TreeWalkerImpl(Node root,
int whatToShow,
NodeFilter nodeFilter,
boolean entityReferenceExpansion)
Public constructor |
Method Summary | |
(package private) short |
acceptNode(Node node)
Internal function. |
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 |
(package private) Node |
getFirstChild(Node node)
Internal function. |
(package private) Node |
getLastChild(Node node)
Internal function. |
(package private) Node |
getNextSibling(Node node)
Internal function. |
(package private) Node |
getNextSibling(Node node,
Node root)
Internal function. |
(package private) Node |
getParentNode(Node node)
Internal function. |
(package private) Node |
getPreviousSibling(Node node)
Internal function. |
(package private) Node |
getPreviousSibling(Node node,
Node root)
Internal function. |
Node |
getRoot()
|
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 |
|
Field Detail |
int fWhatToShow
NodeFilter fNodeFilter
Node fCurrentNode
Node fRoot
Constructor Detail |
public TreeWalkerImpl(Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)
Method Detail |
public Node getRoot()
getRoot
in interface TreeWalker
public int getWhatToShow()
getWhatToShow
in interface TreeWalker
public void setWhatShow(int whatToShow)
public NodeFilter getFilter()
getFilter
in interface TreeWalker
public boolean getExpandEntityReferences()
getExpandEntityReferences
in interface TreeWalker
public Node getCurrentNode()
getCurrentNode
in interface TreeWalker
public void setCurrentNode(Node node)
setCurrentNode
in interface TreeWalker
public Node parentNode()
parentNode
in interface TreeWalker
public Node firstChild()
firstChild
in interface TreeWalker
public Node lastChild()
lastChild
in interface TreeWalker
public Node previousSibling()
previousSibling
in interface TreeWalker
public Node nextSibling()
nextSibling
in interface TreeWalker
public Node previousNode()
previousNode
in interface TreeWalker
public Node nextNode()
nextNode
in interface TreeWalker
Node getParentNode(Node node)
Node getNextSibling(Node node)
Node getNextSibling(Node node, Node root)
Node getPreviousSibling(Node node)
Node getPreviousSibling(Node node, Node root)
Node getFirstChild(Node node)
Node getLastChild(Node node)
short acceptNode(Node node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |