java.lang.Cloneable
, DTMAxisIterator
DTMDefaultBaseIterators.TypedSingletonIterator
, SAX2DTM2.TypedSingletonIterator
public class DTMDefaultBaseIterators.SingletonIterator extends DTMDefaultBaseIterators.InternalAxisIteratorBase
END
Constructor | Description |
---|---|
SingletonIterator() |
Constructor SingletonIterator
|
SingletonIterator(int node) |
Constructor SingletonIterator
|
SingletonIterator(int node,
boolean constant) |
Constructor SingletonIterator
|
Modifier and Type | Method | Description |
---|---|---|
int |
next() |
Get the next node in the iteration.
|
DTMAxisIterator |
reset() |
Resets the iterator to the last start node.
|
DTMAxisIterator |
setStartNode(int node) |
Set start to END should 'close' the iterator,
i.e. subsequent call to next() should return END.
|
cloneIterator, getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, setRestartable
gotoMark, setMark
public SingletonIterator()
public SingletonIterator(int node)
node
- The node handle to return.public SingletonIterator(int node, boolean constant)
node
- the node handle to return.constant
- (Not sure what this is yet. -sb)public DTMAxisIterator setStartNode(int node)
node
- Sets the root of the iteration.public DTMAxisIterator reset()
reset
in interface DTMAxisIterator
reset
in class DTMAxisIteratorBase
public int next()
Copyright ? 2014 Apache XML Project. All Rights Reserved.