java.lang.Cloneable, DTMAxisIteratorpublic final class SAX2DTM2.ChildrenIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
END| Constructor | Description |
|---|---|
ChildrenIterator() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
next() |
Get the next node in the iteration.
|
DTMAxisIterator |
setStartNode(int node) |
Setting start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartablegotoMark, setMarkpublic DTMAxisIterator setStartNode(int node)
If the iterator is not restartable, this has no effect. %REVIEW% Should it return/throw something in that case, or set current node to END, to indicate request-not-honored?
node - Sets the root of the iteration.public int next()
Copyright © 2014 Apache XML Project. All Rights Reserved.