org.apache.xml.dtm.ref
Class DTMDefaultBaseIterators.TypedPrecedingSiblingIterator
java.lang.Object
org.apache.xml.dtm.ref.DTMAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.PrecedingSiblingIterator
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.TypedPrecedingSiblingIterator
- All Implemented Interfaces:
- Cloneable, DTMAxisIterator
- Enclosing class:
- DTMDefaultBaseIterators
public final class DTMDefaultBaseIterators.TypedPrecedingSiblingIterator
- extends DTMDefaultBaseIterators.PrecedingSiblingIterator
Iterator that returns preceding siblings of a given type for
a given node
Method Summary |
int |
next()
Get the next node in the iteration. |
DTMDefaultBaseIterators.TypedPrecedingSiblingIterator
public DTMDefaultBaseIterators.TypedPrecedingSiblingIterator(int type)
- Constructor TypedPrecedingSiblingIterator
- Parameters:
type
- The extended type ID being requested.
next
public int next()
- Get the next node in the iteration.
- Specified by:
next
in interface DTMAxisIterator
- Overrides:
next
in class DTMDefaultBaseIterators.PrecedingSiblingIterator
- Returns:
- The next node handle in the iteration, or END.
Copyright ? 2005 Apache XML Project. All Rights Reserved.