public class KeyIndex.KeyIndexIterator extends MultiValuedNodeHeapIterator
key
function or the XPath id
function.MultiValuedNodeHeapIterator.HeapNode
END
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, setMark
getAxis, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, setRestartable
public DTMAxisIterator setStartNode(int node)
setStartNode
in interface DTMAxisIterator
setStartNode
in class MultiValuedNodeHeapIterator
node
- the context nodeDTMAxisIterator
set to the start of the iteration.public int next()
next
in interface DTMAxisIterator
next
in class MultiValuedNodeHeapIterator
public DTMAxisIterator reset()
reset
in interface DTMAxisIterator
reset
in class MultiValuedNodeHeapIterator
public int getLast()
getLast
in interface DTMAxisIterator
getLast
in class DTMAxisIteratorBase
public int getNodeByPosition(int position)
getNodeByPosition
in interface DTMAxisIterator
getNodeByPosition
in class DTMAxisIteratorBase
position
- The positionCopyright © 2014 Apache XML Project. All Rights Reserved.