org.apache.xml.dtm.ref
public class DTMDefaultBaseIterators.AncestorIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
Method Summary | |
---|---|
DTMAxisIterator | cloneIterator()
Returns a deep copy of this iterator. |
int | getStartNode()
Get start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
void | gotoMark() |
boolean | isReverse()
True if this iterator has a reversed axis.
|
int | next()
Get the next node in the iteration.
|
DTMAxisIterator | reset()
Resets the iterator to the last start node.
|
void | setMark() |
DTMAxisIterator | setStartNode(int node)
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
Returns: a deep copy of this iterator.
Returns: The root node of the iteration.
Returns: true since this iterator is a reversed axis.
Returns: The next node handle in the iteration, or END.
Returns: A DTMAxisIterator, which may or may not be the same as this iterator.
Parameters: node Sets the root of the iteration.
Returns: A DTMAxisIterator set to the start of the iteration.