org.apache.xml.dtm.ref

Class DTMDefaultBaseIterators.TypedAncestorIterator

public final class DTMDefaultBaseIterators.TypedAncestorIterator extends DTMDefaultBaseIterators.AncestorIterator

Typed iterator that returns the ancestors of a given node.
Constructor Summary
TypedAncestorIterator(int type)
Constructor TypedAncestorIterator
Method Summary
DTMAxisIteratorsetStartNode(int node)
Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.

Constructor Detail

TypedAncestorIterator

public TypedAncestorIterator(int type)
Constructor TypedAncestorIterator

Parameters: type The extended type ID being requested.

Method Detail

setStartNode

public DTMAxisIterator setStartNode(int node)
Set start to END should 'close' the iterator, i.e. subsequent call to next() should return END.

Parameters: node Sets the root of the iteration.

Returns: A DTMAxisIterator set to the start of the iteration.

Copyright B) 2005 Apache XML Project. All Rights Reserved.