AtomizableIterator
, AxisIterator
, SequenceIterator
AncestorEnumeration
, AttributeEnumeration
, AttributeEnumeration
, DescendantEnumeration
, FollowingEnumeration
, Navigator.AxisFilter
, Navigator.BaseEnumeration
, PrecedingEnumeration
, PrecedingSiblingEnumeration
, SiblingEnumeration
public abstract class AxisIteratorImpl extends java.lang.Object implements AxisIterator, AtomizableIterator
Modifier and Type | Field | Description |
---|---|---|
protected Item |
current |
|
protected int |
position |
ATOMIZABLE, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
Constructor | Description |
---|---|
AxisIteratorImpl() |
Modifier and Type | Method | 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.
|
getAnother, next
protected int position
protected Item current
public final Item current()
current
in interface AxisIterator
current
in interface SequenceIterator
public final int position()
position
in interface AxisIterator
position
in interface SequenceIterator
public void setIsAtomizing(boolean atomizing)
setIsAtomizing
in interface AtomizableIterator
atomizing
- 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 SequenceIterator
SequenceIterator.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.