Package net.sf.saxon.expr.elab
Class LazyPullEvaluator
- java.lang.Object
-
- net.sf.saxon.expr.elab.LazyPullEvaluator
-
- All Implemented Interfaces:
SequenceEvaluator
public class LazyPullEvaluator extends java.lang.Object implements SequenceEvaluator
SequenceEvaluator that evaluates an expression lazily in pull mode; that is, it delivers aLazySequence
which defers actual evaluation until the value is actually needed.
-
-
Constructor Summary
Constructors Constructor Description LazyPullEvaluator(PullEvaluator select)
-
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)
-
-
-
Constructor Detail
-
LazyPullEvaluator
public LazyPullEvaluator(PullEvaluator 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 interfaceSequenceEvaluator
- Parameters:
context
- the evaluation context- Returns:
- a Sequence (not necessarily grounded)
- Throws:
XPathException
- if a dynamic error occurs during the evaluation.
-
-