Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.xml.dtm.ref.DTMAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.AncestorIterator
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.TypedAncestorIterator
public final class DTMDefaultBaseIterators.TypedAncestorIterator
Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator | |
END |
Constructor Summary | |
|
Method Summary | |
DTMAxisIterator |
|
Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseIterators.AncestorIterator | |
cloneIterator , getStartNode , gotoMark , isReverse , next , reset , setMark , setStartNode |
Methods inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase | |
gotoMark , setMark |
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase | |
cloneIterator , getAxis , getLast , getNodeByPosition , getPosition , getStartNode , includeSelf , isDocOrdered , isReverse , reset , setRestartable |
public TypedAncestorIterator(int type)
Constructor TypedAncestorIterator
- Parameters:
type
- The extended type ID being requested.
public DTMAxisIterator setStartNode(int node)
Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.
- Specified by:
- setStartNode in interface DTMAxisIterator
- Overrides:
- setStartNode in interface DTMDefaultBaseIterators.AncestorIterator
- Parameters:
node
- Sets the root of the iteration.
- Returns:
- A DTMAxisIterator set to the start of the iteration.