public class GroupEndingIterator extends GroupMatchingIterator implements GroupIterator, LookaheadIterator
baseContext, current, currentMembers, next, pattern, population, position, runningContext, select
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor and Description |
---|
GroupEndingIterator(Expression select,
Pattern endPattern,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
advance() |
int |
getLength()
Get the last position (that is, the number of items in the sequence).
|
close, getCurrentGroupingKey, getProperties, getSnapShot, hasNext, iterateCurrentGroup, next
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentGroupingKey, getSnapShot, iterateCurrentGroup
hasNext
close, getProperties, next
public GroupEndingIterator(Expression select, Pattern endPattern, XPathContext context) throws XPathException
XPathException
public int getLength() throws XPathException
LastPositionFinder
SequenceIterator.LAST_POSITION_FINDER
getLength
in interface LastPositionFinder
XPathException
- if an error occurs evaluating the sequence in order to determine
the number of itemsprotected void advance() throws XPathException
advance
in class GroupMatchingIterator
XPathException
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.