|
|||||||||||
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.AttributeAxis
AttributeAxis represents the attribute axis.
Field Summary | |
static Axis |
INSTANCE
The axis instance. |
Constructor Summary | |
protected |
AttributeAxis()
|
Method Summary | |
XPathNode |
getFirstNode(XPathNode contextNode,
NodeTest nodeTest)
Get the first node of the axis, which matches the nodeTest or null if no match is found. |
int |
getMaxResultSize(NodeTest nodeTest)
Return 1 if the nodetest is an exact nametest, 0 else. |
ModelWalker |
getModelWalker()
Return a ModelWalker for the axis. |
void |
getNodes(XPathNode contextNode,
NodeTest nodeTest,
XMutableNodeSet result)
Get the nodes of the axis, filtered by the NodeTest. |
int |
getPrincipalNodeType()
Return ATTRIBUTE. |
Methods inherited from class jd.xml.xpath.axis.Axis |
getMinResultSize, getName, 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
Constructor Detail |
protected AttributeAxis()
Method Detail |
public int getMaxResultSize(NodeTest nodeTest)
getMaxResultSize
in class Axis
public int getPrincipalNodeType()
getPrincipalNodeType
in class Axis
public void getNodes(XPathNode contextNode, NodeTest nodeTest, XMutableNodeSet result)
getNodes
in class Axis
contextNode
- the context nodenodeTest
- the node testresult
- a nodeset for the matching nodes.public XPathNode getFirstNode(XPathNode contextNode, NodeTest nodeTest)
getFirstNode
in class Axis
public ModelWalker getModelWalker()
getModelWalker
in class Axis
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |