public class DTMDefaultBaseIterators.SingletonIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
_currentNode_includeSelf, _isRestartable, _position, _startNodeEND| Constructor and Description |
|---|
SingletonIterator()
Constructor SingletonIterator
|
SingletonIterator(int node,
boolean constant)
Constructor SingletonIterator
|
| Modifier and Type | Method and Description |
|---|---|
int |
next()
Get the next node in the iteration.
|
void |
reset()
Resets the iterator to the last start node.
|
void |
setStartNode(int node)
Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.
|
cloneIterator, includeSelf, isReverse, resetPosition, returnNodepublic SingletonIterator()
public SingletonIterator(int node,
boolean constant)
node - the node handle to return.constant - (Not sure what this is yet. -sb)public void setStartNode(int node)
node - Sets the root of the iteration.public void reset()
reset in interface DTMAxisIteratorreset in class DTMAxisIteratorBasepublic int next()
Copyright © 2022–2025 HtmlUnit. All rights reserved.