| |
|
| org.apache.xpath.axes.PredicatedNodeTest org.apache.xpath.axes.LocPathIterator org.apache.xpath.axes.SelfIteratorNoPredicate
Method Summary | |
public int | asNode(XPathContext xctxt) Return the first node out of the nodeset, if this expression is
a nodeset expression. | public int | getLastPos(XPathContext xctxt) Get the index of the last node that can be itterated to.
This probably will need to be overridded by derived classes.
Parameters: xctxt - XPath runtime context. | 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. Derived classes should try and override this and return a
value without having to do a clone operation.
Parameters: xctxt - The XPath runtime context. the first node out of the nodeset, or DTM.NULL. |
getLastPos | public int getLastPos(XPathContext xctxt)(Code) | | Get the index of the last node that can be itterated to.
This probably will need to be overridded by derived classes.
Parameters: xctxt - XPath runtime context. the index of the last node that can be itterated to. |
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. |
|
|
|