org.apache.xml.dtm.ref.sax2dtm
Class SAX2DTM2.TypedRootIterator
java.lang.Object
org.apache.xml.dtm.ref.DTMAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.RootIterator
org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.TypedRootIterator
- All Implemented Interfaces:
- Cloneable, DTMAxisIterator
- Enclosing class:
- SAX2DTM2
- public class SAX2DTM2.TypedRootIterator
- extends DTMDefaultBaseIterators.RootIterator
Iterator that returns the namespace nodes as defined by the XPath data model
for a given node, filtered by extended type ID.
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 |
SAX2DTM2.TypedRootIterator
public SAX2DTM2.TypedRootIterator(int nodeType)
- Constructor TypedRootIterator
- Parameters:
nodeType
- 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.RootIterator
- Returns:
- The next node handle in the iteration, or END.
Copyright ? 2004 Apache XML Project. All Rights Reserved.