com.icl.saxon.tinytree
Class PrecedingEnumeration
java.lang.Object
com.icl.saxon.tinytree.PrecedingEnumeration
- AxisEnumeration, LastPositionFinder, NodeEnumeration
(package private) final class PrecedingEnumeration
extends java.lang.Object
Enumerate all the nodes on the preceding axis from a given start node.
The calling code ensures that the start node is not a root, attribute,
or namespace node. As well as the standard XPath preceding axis, this
class also implements a Saxon-specific "preceding-or-ancestor" axis
which returns ancestor nodes as well as preceding nodes. This is used
when performing xsl:number level="any".
includeAncestors
(package private) boolean includeAncestors
last
(package private) int last
nextAncestorDepth
(package private) int nextAncestorDepth
nextNodeNr
(package private) int nextNodeNr
hasMoreElements
public boolean hasMoreElements()
Determine whether there are more nodes to come.
(Note the term "Element" is used here in the sense of the standard Java Enumeration class,
it has nothing to do with XML elements).
- hasMoreElements in interface AxisEnumeration
- hasMoreElements in interface NodeEnumeration
- true if there are more nodes