org.apache.xml.dtm.ref.sax2dtm
public final class SAX2DTM2.TypedAncestorIterator extends SAX2DTM2.AncestorIterator
Constructor Summary | |
---|---|
TypedAncestorIterator(int type)
Constructor TypedAncestorIterator
|
Method Summary | |
---|---|
int | getLast()
Returns the position of the last node within the iteration, as
defined by XPath. |
int | getNodeByPosition(int position)
Return the node at the given position. |
DTMAxisIterator | setStartNode(int node)
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
Parameters: type The extended type ID being requested.
Parameters: node Sets the root of the iteration.
Returns: A DTMAxisIterator set to the start of the iteration.