public class DTMDefaultBaseIterators.AncestorIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
_currentNode_includeSelf, _isRestartable, _position, _startNodeEND| Constructor and Description |
|---|
AncestorIterator() |
| Modifier and Type | Method and Description |
|---|---|
DTMAxisIterator |
cloneIterator()
Returns a deep copy of this iterator.
|
boolean |
isReverse() |
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.
|
includeSelf, resetPosition, returnNodepublic final boolean isReverse()
isReverse in interface DTMAxisIteratorisReverse in class DTMAxisIteratorBasepublic DTMAxisIterator cloneIterator()
cloneIterator in interface DTMAxisIteratorcloneIterator in class DTMAxisIteratorBasepublic 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–2023 HtmlUnit. All rights reserved.