com.icl.saxon.expr
public class LookaheadEnumerator extends Object implements NodeEnumeration, LastPositionFinder
| Constructor Summary | |
|---|---|
| LookaheadEnumerator(NodeEnumeration base)
Constructor | |
| Method Summary | |
|---|---|
| int | getLastPosition()
Do lookahead to find the last position, if required |
| boolean | hasMoreElements()
Determine whether there are any more nodes to hand to the client |
| boolean | isPeer()
Determine whether the nodes are guaranteed to be peers |
| boolean | isReverseSorted() |
| boolean | isSorted()
Determine whether the nodes are guaranteed to be in document order |
| NodeInfo | nextElement()
Hand the next node to the client |
Parameters: base An NodeEnumerator that delivers the nodes, but that cannot determine the last position count.