org.apache.xml.dtm.ref
Class DTMDefaultBaseIterators.TypedFollowingIterator
java.lang.Object
org.apache.xml.dtm.ref.DTMAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.FollowingIterator
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.TypedFollowingIterator
- All Implemented Interfaces:
- Cloneable, DTMAxisIterator
- Enclosing class:
- DTMDefaultBaseIterators
public final class DTMDefaultBaseIterators.TypedFollowingIterator
- extends DTMDefaultBaseIterators.FollowingIterator
Iterator that returns following nodes of a given type for a given node.
Method Summary |
int |
next()
Get the next node in the iteration. |
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartable |
DTMDefaultBaseIterators.TypedFollowingIterator
public DTMDefaultBaseIterators.TypedFollowingIterator(int type)
- Constructor TypedFollowingIterator
- 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.FollowingIterator
- Returns:
- The next node handle in the iteration, or END.
Copyright ? 2005 Apache XML Project. All Rights Reserved.