com.icl.saxon.tree

Class PrecedingOrAncestorEnumeration

final class PrecedingOrAncestorEnumeration extends TreeEnumeration

Constructor Summary
PrecedingOrAncestorEnumeration(NodeImpl node, NodeTest nodeTest)
This axis cannot be requested directly in an XPath expression but is used when evaluating xsl:number.
Method Summary
intgetLastPosition()
Get the last position, that is the number of nodes in the enumeration
protected voidstep()

Constructor Detail

PrecedingOrAncestorEnumeration

public PrecedingOrAncestorEnumeration(NodeImpl node, NodeTest nodeTest)
This axis cannot be requested directly in an XPath expression but is used when evaluating xsl:number. It is provided because taking the union of the two axes would be very inefficient

Method Detail

getLastPosition

public int getLastPosition()
Get the last position, that is the number of nodes in the enumeration

step

protected void step()