FileDocCategorySizeDatePackage
SubContextList.javaAPI DocJava SE 6 API1535Tue Jun 10 00:23:14 BST 2008com.sun.org.apache.xpath.internal.axes

SubContextList

public interface SubContextList
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.
xsl.usage
advanced

Fields Summary
Constructors Summary
Methods Summary
public intgetLastPos(com.sun.org.apache.xpath.internal.XPathContext xctxt)
Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.

param
xctxt The XPath runtime context.
return
the number of nodes in the node list.

public intgetProximityPosition(com.sun.org.apache.xpath.internal.XPathContext xctxt)
Get the current sub-context position.

param
xctxt The XPath runtime context.
return
The position of the current node in the list.