public class KeyIndex.KeyIndexIterator extends MultiValuedNodeHeapIterator
key function or the XPath id function.MultiValuedNodeHeapIterator.HeapNodeEND| Modifier and Type | Method and Description |
|---|---|
int |
getLast()
Returns the number of nodes in this iterator.
|
int |
getNodeByPosition(int position)
Return the node at the given position.
|
int |
next()
Get the next node in the iteration.
|
DTMAxisIterator |
reset()
Resets the iterator to the last start node.
|
DTMAxisIterator |
setStartNode(int node)
Set context node for the iterator.
|
cloneIterator, gotoMark, setMarkgetAxis, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, setRestartablepublic DTMAxisIterator setStartNode(int node)
setStartNode in interface DTMAxisIteratorsetStartNode in class MultiValuedNodeHeapIteratornode - the context nodeDTMAxisIterator set to the start of the iteration.public int next()
next in interface DTMAxisIteratornext in class MultiValuedNodeHeapIteratorpublic DTMAxisIterator reset()
reset in interface DTMAxisIteratorreset in class MultiValuedNodeHeapIteratorpublic int getLast()
getLast in interface DTMAxisIteratorgetLast in class DTMAxisIteratorBasepublic int getNodeByPosition(int position)
getNodeByPosition in interface DTMAxisIteratorgetNodeByPosition in class DTMAxisIteratorBaseposition - The positionCopyright © 2014 Apache XML Project. All Rights Reserved.