|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.dtm.ref.DTMAxisIteratorBase org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase org.apache.xalan.xsltc.dom.SAXImpl.NodeValueIterator
private final class SAXImpl.NodeValueIterator
This is a specialised iterator for predicates comparing node or attribute values to variable or parameter values.
Field Summary | |
---|---|
private boolean |
_isReverse
|
private boolean |
_op
|
private int |
_returnType
|
private DTMAxisIterator |
_source
|
private java.lang.String |
_value
|
Fields inherited from class org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase |
---|
_currentNode |
Fields inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
---|
_includeSelf, _isRestartable, _last, _markedNode, _position, _startNode |
Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator |
---|
END |
Constructor Summary | |
---|---|
SAXImpl.NodeValueIterator(DTMAxisIterator source,
int returnType,
java.lang.String value,
boolean op)
|
Method Summary | |
---|---|
DTMAxisIterator |
cloneIterator()
Returns a deep copy of this iterator. |
void |
gotoMark()
Restores the current node remembered by setMark(). |
boolean |
isReverse()
|
int |
next()
Get the next node in the iteration. |
DTMAxisIterator |
reset()
Resets the iterator to the last start node. |
void |
setMark()
Remembers the current node for the next call to gotoMark(). |
void |
setRestartable(boolean isRestartable)
Set if restartable. |
DTMAxisIterator |
setStartNode(int node)
Set start to END should 'close' the iterator, i.e. |
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
---|
getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, resetPosition, returnNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private DTMAxisIterator _source
private java.lang.String _value
private boolean _op
private final boolean _isReverse
private int _returnType
Constructor Detail |
---|
public SAXImpl.NodeValueIterator(DTMAxisIterator source, int returnType, java.lang.String value, boolean op)
Method Detail |
---|
public boolean isReverse()
isReverse
in interface DTMAxisIterator
isReverse
in class DTMAxisIteratorBase
public DTMAxisIterator cloneIterator()
DTMAxisIteratorBase
cloneIterator
in interface DTMAxisIterator
cloneIterator
in class DTMAxisIteratorBase
public void setRestartable(boolean isRestartable)
DTMAxisIterator
setRestartable
in interface DTMAxisIterator
setRestartable
in class DTMAxisIteratorBase
public DTMAxisIterator reset()
DTMAxisIterator
reset
in interface DTMAxisIterator
reset
in class DTMAxisIteratorBase
public int next()
DTMAxisIterator
public DTMAxisIterator setStartNode(int node)
DTMAxisIterator
node
- Sets the root of the iteration.
public void setMark()
DTMDefaultBaseIterators.InternalAxisIteratorBase
setMark
in interface DTMAxisIterator
setMark
in class DTMDefaultBaseIterators.InternalAxisIteratorBase
public void gotoMark()
DTMDefaultBaseIterators.InternalAxisIteratorBase
gotoMark
in interface DTMAxisIterator
gotoMark
in class DTMDefaultBaseIterators.InternalAxisIteratorBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |