public abstract class ManualGroupIterator extends ManualIterator implements GroupIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
ManualGroupIterator(Item item,
int position)
Create a manual grouping iterator
|
| Modifier and Type | Method and Description |
|---|---|
ManualGroupIterator |
getSnapShot(XPathContext context)
Get a sequence which is a snapshot of this sequence at the current position
|
boolean |
hasCurrentGroup()
Ask whether this iterator has a current group
|
boolean |
hasCurrentGroupingKey()
Ask whether this iterator has a current grouping key
|
void |
setGroupSlot(int groupSlot)
Set the slot number of the variable holding the current group
|
void |
setKeySlot(int keySlot)
Set the slot number of the variable holding the current grouping key
|
close, current, getAnother, getLength, getProperties, getReverseIterator, hasNext, incrementPosition, materialize, next, position, setContextItem, setLastPositionFinder, setPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentGroupingKey, iterateCurrentGroupclose, current, getAnother, getProperties, next, positionpublic ManualGroupIterator(Item item, int position)
item - the context itemposition - the context positionpublic void setGroupSlot(int groupSlot)
setGroupSlot in interface GroupIteratorgroupSlot - the stack frame position of the variable holding the current grouppublic void setKeySlot(int keySlot)
setKeySlot in interface GroupIteratorkeySlot - the stack frame position of the variable holding the current grouping keypublic boolean hasCurrentGroup()
GroupIteratorhasCurrentGroup in interface GroupIteratorpublic boolean hasCurrentGroupingKey()
GroupIteratorhasCurrentGroupingKey in interface GroupIteratorpublic ManualGroupIterator getSnapShot(XPathContext context) throws XPathException
GroupIteratorgetSnapShot in interface GroupIteratorXPathExceptionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.