Interface GroundedIterator<T extends Item>

All Superinterfaces:
SequenceIterator<T>
All Known Implementing Classes:
ArrayIterator, EmptyAxisIterator, EmptyIterator, ListIterator, MemoClosure.ProgressiveIterator, RangeIterator, SingleNodeIterator, SingletonIterator, ValueTailIterator

public interface GroundedIterator<T extends Item> extends SequenceIterator<T>
This interface is an extension to the SequenceIterator interface; it represents a SequenceIterator that is based on an in-memory representation of a sequence, and that is therefore capable of returned a SequenceValue containing all the items in the sequence.
  • Method Details

    • materialize

      GroundedValue<T> materialize() throws XPathException
      Return a GroundedValue containing all the items in the sequence returned by this SequenceIterator. This should be an "in-memory" value, not a Closure.
      Returns:
      the corresponding Value
      Throws:
      XPathException - if an error occurs evaluating the sequence