|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xpath.axis.Axis
jd.xml.xpath.axis.RootAxis
RootAxis represents the pseudo-axis for the document root.
| Field Summary | |
static Axis |
INSTANCE
The axis instance. |
| Method Summary | |
XPathNode |
getFirstNode(XPathNode contextNode,
NodeTest nodeTest)
Return the root. |
int |
getMaxResultSize(NodeTest nodeTest)
Return 1. |
int |
getMinResultSize(NodeTest test)
Return 1. |
ModelWalker |
getModelWalker()
Return this. |
void |
getNodes(XPathNode contextNode,
NodeTest nodeTest,
XMutableNodeSet result)
Add the root to the result set. |
XPathNode |
gotoFirstNode(XPathNode contextNode)
Return the root node. |
XPathNode |
gotoNextNode(XPathNode lastNode)
Return null. |
| Methods inherited from class jd.xml.xpath.axis.Axis |
getName, getPrincipalNodeType, getProximityModelWalker, isDistinctAxis, isForwardAxis, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final Axis INSTANCE
| Method Detail |
public int getMaxResultSize(NodeTest nodeTest)
getMaxResultSize in class Axispublic int getMinResultSize(NodeTest test)
getMinResultSize in class Axis
public void getNodes(XPathNode contextNode,
NodeTest nodeTest,
XMutableNodeSet result)
getNodes in class AxiscontextNode - the context nodenodeTest - the node testresult - a nodeset for the matching nodes.
public XPathNode getFirstNode(XPathNode contextNode,
NodeTest nodeTest)
getFirstNode in class Axispublic ModelWalker getModelWalker()
getModelWalker in class Axispublic XPathNode gotoFirstNode(XPathNode contextNode)
gotoFirstNode in interface ModelWalkerpublic XPathNode gotoNextNode(XPathNode lastNode)
gotoNextNode in interface ModelWalkerlastNode - a XPathNode obtained from the last call
to gotoFirstNode or gotoNextNode.
If the node is another node the behaviour is not determined.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||