Top Description Methods
com.sun.org.apache.xpath.internal.axes

public Interface SubContextList

Known Direct Implementers
com.sun.org.apache.xpath.internal.patterns.StepPattern, com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest
Imports
com.sun.org.apache.xpath.internal.XPathContext

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

Modifier and TypeMethod and Description
public int

Returns:

the number of nodes in the node list.
getLastPos
(XPathContext
The XPath runtime context.
xctxt
)

Get the number of nodes in the node list, which, in the XSLT 1 based counting system, is the last index position.

public int

Returns:

The position of the current node in the list.
getProximityPosition
(XPathContext
The XPath runtime context.
xctxt
)

Get the current sub-context position.

Method Detail

getLastPosback to 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:XPathContext

The XPath runtime context.

Returns:int

the number of nodes in the node list.

getProximityPositionback to summary
public int getProximityPosition(XPathContext xctxt)

Get the current sub-context position.

Parameters
xctxt:XPathContext

The XPath runtime context.

Returns:int

The position of the current node in the list.