org.apache.xml.dtm.ref
Class DTMDefaultBaseIterators.InternalAxisIteratorBase
java.lang.Object
org.apache.xml.dtm.ref.DTMAxisIteratorBase
org.apache.xml.dtm.ref.DTMDefaultBaseIterators.InternalAxisIteratorBase
- All Implemented Interfaces:
- Cloneable, DTMAxisIterator
- Direct Known Subclasses:
- DTMDefaultBaseIterators.AncestorIterator, DTMDefaultBaseIterators.AttributeIterator, DTMDefaultBaseIterators.ChildrenIterator, DTMDefaultBaseIterators.DescendantIterator, DTMDefaultBaseIterators.FollowingIterator, DTMDefaultBaseIterators.FollowingSiblingIterator, DTMDefaultBaseIterators.NamespaceAttributeIterator, DTMDefaultBaseIterators.NamespaceChildrenIterator, DTMDefaultBaseIterators.NamespaceIterator, DTMDefaultBaseIterators.ParentIterator, DTMDefaultBaseIterators.PrecedingIterator, DTMDefaultBaseIterators.PrecedingSiblingIterator, DTMDefaultBaseIterators.RootIterator, DTMDefaultBaseIterators.SingletonIterator, DTMDefaultBaseIterators.TypedAttributeIterator, DTMDefaultBaseIterators.TypedChildrenIterator
- Enclosing class:
- DTMDefaultBaseIterators
- private abstract class DTMDefaultBaseIterators.InternalAxisIteratorBase
- extends DTMAxisIteratorBase
Abstract superclass defining behaviors shared by all DTMDefault's
internal implementations of DTMAxisIterator. Subclass this (and
override, if necessary) to implement the specifics of an
individual axis iterator.
Currently there isn't a lot here
Field Summary |
protected int |
_currentNode
Current iteration location. |
Method Summary |
void |
gotoMark()
Restores the current node remembered by setMark().
|
void |
setMark()
Remembers the current node for the next call to gotoMark().
|
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase |
cloneIterator, getAxis, getLast, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, reset, resetPosition, returnNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_currentNode
protected int _currentNode
- Current iteration location. Usually this is the last location
returned (starting point for the next() search); for single-node
iterators it may instead be initialized to point to that single node.
DTMDefaultBaseIterators.InternalAxisIteratorBase
private DTMDefaultBaseIterators.InternalAxisIteratorBase()
setMark
public void setMark()
- Remembers the current node for the next call to gotoMark().
%REVIEW% Should this save _position too?
gotoMark
public void gotoMark()
- Restores the current node remembered by setMark().
%REVEIW% Should this restore _position too?