public class DTMDefaultBaseIterators.SingletonIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
_currentNode
_includeSelf, _isRestartable, _last, _markedNode, _position, _startNode
END
Constructor and Description |
---|
DTMDefaultBaseIterators.SingletonIterator()
Constructor SingletonIterator
|
DTMDefaultBaseIterators.SingletonIterator(int node)
Constructor SingletonIterator
|
DTMDefaultBaseIterators.SingletonIterator(int node,
boolean constant)
Constructor SingletonIterator
|
Modifier and Type | Method and Description |
---|---|
int |
next()
Get the next node in the iteration.
|
DTMAxisIterator |
reset()
Resets the iterator to the last start node.
|
DTMAxisIterator |
setStartNode(int node)
Set start to END should 'close' the iterator,
i.e.
|
gotoMark, setMark
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, resetPosition, returnNode, setRestartable
public DTMDefaultBaseIterators.SingletonIterator()
public DTMDefaultBaseIterators.SingletonIterator(int node)
node
- The node handle to return.public DTMDefaultBaseIterators.SingletonIterator(int node, boolean constant)
node
- the node handle to return.constant
- (Not sure what this is yet. -sb)public DTMAxisIterator setStartNode(int node)
node
- Sets the root of the iteration.public DTMAxisIterator reset()
reset
in interface DTMAxisIterator
reset
in class DTMAxisIteratorBase
public int next()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.