net.sf.saxon.om
public abstract class AxisIteratorImpl extends Object implements AxisIterator, AtomizableIterator
Field Summary | |
---|---|
protected Item | current |
protected int | position |
Method Summary | |
---|---|
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. |
Returns: the node returned by the most recent call on next()
Returns: the properties of this iterator. This will be some combination of properties such as GROUNDED, LAST_POSITION_FINDER, and 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.
Returns: the position of the most recent node returned by next()
Parameters: 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.