Class EagerPushEvaluator

  • All Implemented Interfaces:
    SequenceEvaluator

    public class EagerPushEvaluator
    extends java.lang.Object
    implements SequenceEvaluator
    A SequenceEvaluator that evaluates an expression eagerly, in push mode.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Sequence evaluate​(XPathContext context)
      Evaluate a construct to produce a value (which might be a lazily evaluated Sequence)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EagerPushEvaluator

        public EagerPushEvaluator​(PushEvaluator select)
    • Method Detail

      • evaluate

        public Sequence evaluate​(XPathContext context)
                          throws XPathException
        Evaluate a construct to produce a value (which might be a lazily evaluated Sequence)
        Specified by:
        evaluate in interface SequenceEvaluator
        Parameters:
        context - the evaluation context
        Returns:
        a Sequence (not necessarily grounded)
        Throws:
        XPathException - if a dynamic error occurs during the evaluation.