jd.xml.xpath.axis
Class ChildAxis

java.lang.Object
  extended byjd.xml.xpath.axis.Axis
      extended byjd.xml.xpath.axis.ChildAxis

public class ChildAxis
extends Axis

ChildAxis represents the child axis.


Field Summary
static Axis INSTANCE
          The axis instance.
 
Method Summary
 XPathNode getFirstNode(XPathNode contextNode, NodeTest nodeTest)
          Implemented since this is most used axis.
 ModelWalker getModelWalker()
          Return this.
 void getNodes(XPathNode contextNode, NodeTest nodeTest, XMutableNodeSet result)
          Get the nodes of the axis, filtered by the NodeTest.
 
Methods inherited from class jd.xml.xpath.axis.Axis
getMaxResultSize, getMinResultSize, 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

INSTANCE

public static final Axis INSTANCE
The axis instance.

Method Detail

getNodes

public void getNodes(XPathNode contextNode,
                     NodeTest nodeTest,
                     XMutableNodeSet result)
Get the nodes of the axis, filtered by the NodeTest.

Overrides:
getNodes in class Axis
Parameters:
contextNode - the context node
nodeTest - the node test
result - a nodeset for the matching nodes.

getFirstNode

public XPathNode getFirstNode(XPathNode contextNode,
                              NodeTest nodeTest)
Implemented since this is most used axis.

Overrides:
getFirstNode in class Axis

getModelWalker

public ModelWalker getModelWalker()
Return this.

Specified by:
getModelWalker in class Axis