FileDocCategorySizeDatePackage
SubContextList.javaAPI DocJava SE 5 API1528Fri Aug 26 14:56:06 BST 2005com.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.