| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.xml.dtm.ref.DTMAxisIteratorBaseorg.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBaseorg.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.AncestorIteratororg.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.TypedAncestorIteratorpublic final class SAX2DTM2.TypedAncestorIteratorextends SAX2DTM2.AncestorIteratorFields inherited from interface org.apache.xml.dtm.DTMAxisIterator | |
END | |
Constructor Summary | |
| |
Method Summary | |
int |
|
int |
|
DTMAxisIterator |
|
Methods inherited from class org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.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 int getLast()
Returns the position of the last node within the iteration, as defined by XPath.
- Specified by:
- getLast in interface DTMAxisIterator
- Overrides:
- getLast in interface DTMAxisIteratorBase
public int getNodeByPosition(int position)
Return the node at the given position.
- Specified by:
- getNodeByPosition in interface DTMAxisIterator
- Overrides:
- getNodeByPosition in interface DTMAxisIteratorBase
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 SAX2DTM2.AncestorIterator
- Parameters:
node- Sets the root of the iteration.
- Returns:
- A DTMAxisIterator set to the start of the iteration.