| org.apache.xpath.axes.PredicatedNodeTest org.apache.xpath.axes.LocPathIterator org.apache.xpath.axes.ChildIterator
Constructor Summary | |
| ChildIterator(Compiler compiler, int opPos, int analysis) Create a ChildIterator object. |
Method Summary | |
public int | asNode(XPathContext xctxt) Return the first node out of the nodeset, if this expression is
a nodeset expression. | public int | getAxis() Returns the axis being iterated, if it is known. | public int | nextNode() Returns the next node in the set and advances the position of the
iterator in the set. |
serialVersionUID | final static long serialVersionUID(Code) | | |
asNode | public int asNode(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code) | | Return the first node out of the nodeset, if this expression is
a nodeset expression. This is the default implementation for
nodesets.
WARNING: Do not mutate this class from this function!
Parameters: xctxt - The XPath runtime context. the first node out of the nodeset, or DTM.NULL. |
getAxis | public int getAxis()(Code) | | Returns the axis being iterated, if it is known.
Axis.CHILD, etc., or -1 if the axis is not known or is of multiple types. |
nextNode | public int nextNode()(Code) | | Returns the next node in the set and advances the position of the
iterator in the set. After a NodeIterator is created, the first call
to nextNode() returns the first node in the set.
The next Node in the set being iterated over, ornull if there are no more members in that set. |
|
|