public abstract class AxisIteratorImpl extends java.lang.Object implements AxisIterator, AtomizableIterator
| Modifier and Type | Field and Description |
|---|---|
protected Item |
current |
protected int |
position |
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD| Constructor and Description |
|---|
AxisIteratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
Item |
current()
Get the current node in the sequence.
|
int |
getProperties()
Get properties of this iterator, as a bit-significant integer.
|
protected boolean |
isAtomizing()
Determine whether any nodes returned by this iterator will be atomized,
in which case the supplier has the option of atomizing them eagerly.
|
int |
position()
Get the current position
|
void |
setIsAtomizing(boolean atomizing)
Indicate that any nodes returned in the sequence will be atomized.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnother, nextprotected int position
protected Item current
public final Item current()
current in interface AxisIteratorcurrent in interface SequenceIteratorpublic final int position()
position in interface AxisIteratorposition in interface SequenceIteratorpublic void setIsAtomizing(boolean atomizing)
setIsAtomizing in interface AtomizableIteratoratomizing - true if the caller of this iterator will atomize any
nodes that are returned, and is therefore willing to accept the typed
value of the nodes instead of the nodes themselves.protected final boolean isAtomizing()
public int getProperties()
getProperties in interface SequenceIteratorSequenceIterator.GROUNDED, SequenceIterator.LAST_POSITION_FINDER,
and SequenceIterator.LOOKAHEAD. It is always
acceptable to return the value zero, indicating that there are no known special properties.
It is acceptable for the properties of the iterator to change depending on its state.