org.apache.xpath.axes
Interface SubContextList
- AttributeIterator, AxesWalker, BasicTestIterator, ChildIterator, ChildTestIterator, ContextMatchStepPattern, DescendantIterator, FilterExprIterator, FilterExprIteratorSimple, FilterExprWalker, FunctionPattern, KeyIterator, KeyRefIterator, LocPathIterator, MatchPatternIterator, OneStepIterator, OneStepIteratorForward, PredicatedNodeTest, ReverseAxesWalker, SelfIteratorNoPredicate, StepPattern, UnionChildIterator, UnionPathIterator, WalkingIterator, WalkingIteratorSorted
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.
getLastPos
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.
xctxt
- The XPath runtime context.
- the number of nodes in the node list.
getProximityPosition
public int getProximityPosition(XPathContext xctxt)
Get the current sub-context position.
xctxt
- The XPath runtime context.
- The position of the current node in the list.
Copyright B) 2005 Apache XML Project. All Rights Reserved.