| org.apache.xpath.axes.SubContextList
All known Subclasses: org.apache.xpath.axes.PredicatedNodeTest, org.apache.xpath.patterns.StepPattern,
SubContextList | public interface SubContextList (Code) | | A class that implements this interface is a sub context node list, meaning it
is a node list for a location path step for a predicate.
|
Method Summary | |
public int | getLastPos(XPathContext xctxt) Get the number of nodes in the node list, which, in the XSLT 1 based
counting system, is the last index position.
Parameters: xctxt - The XPath runtime context. | public int | getProximityPosition(XPathContext xctxt) Get the current sub-context position.
Parameters: xctxt - The XPath runtime context. |
getLastPos | public int getLastPos(XPathContext xctxt)(Code) | | Get the number of nodes in the node list, which, in the XSLT 1 based
counting system, is the last index position.
Parameters: xctxt - The XPath runtime context. the number of nodes in the node list. |
getProximityPosition | public int getProximityPosition(XPathContext xctxt)(Code) | | Get the current sub-context position.
Parameters: xctxt - The XPath runtime context. The position of the current node in the list. |
|
|