net.sf.saxon.om
Class Navigator.BaseEnumeration
public abstract static
class
Navigator.BaseEnumeration
extends AxisIteratorImpl
BaseEnumeration is an abstract implementation of an AxisIterator, it
simplifies the implementation of the underlying AxisIterator by requiring
it to provide only two methods: advance(), and getAnother().
NOTA BENE: BaseEnumeration does not maintain the value of the position variable.
It must therefore either (a) be wrapped in an AxisFilter, which does maintain
position, or (b) be subclassed by a class that maintains position itself.
public abstract void advance()
The advance() method must be provided in each concrete implementation.
It must leave the variable current set to the next node to be returned in the
iteration, or to null if there are no more nodes to be returned.