public class GroupEndingIterator extends GroupMatchingIterator implements GroupIterator, LookaheadIterator
baseContext, current, currentMembers, next, pattern, population, position, runningContext, selectATOMIZING, 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, nextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentGroupingKey, getSnapShot, iterateCurrentGrouphasNextclose, getProperties, nextpublic GroupEndingIterator(Expression select, Pattern endPattern, XPathContext context) throws XPathException
XPathExceptionpublic int getLength()
throws XPathException
LastPositionFinderSequenceIterator.LAST_POSITION_FINDERgetLength in interface LastPositionFinderXPathException - if an error occurs evaluating the sequence in order to determine
the number of itemsprotected void advance()
throws XPathException
advance in class GroupMatchingIteratorXPathExceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.