org.apache.xml.dtm.ref.sax2dtm
public final class SAX2DTM2.ParentIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
END
Constructor and Description |
---|
SAX2DTM2.ParentIterator() |
Modifier and Type | Method and Description |
---|---|
int |
next()
Get the next node in the iteration.
|
DTMAxisIterator |
setNodeType(int type)
Set the node type of the parent that we're looking for.
|
DTMAxisIterator |
setStartNode(int node)
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
gotoMark, setMark
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, setRestartable
public DTMAxisIterator setStartNode(int node)
node
- Sets the root of the iteration.public DTMAxisIterator setNodeType(int type)
type
- extended type ID.public int next()
Copyright ? 2006 Apache XML Project. All Rights Reserved.