Package com.saxonica.ee.stream.adjunct
Class MergeInstrAdjunct.MergePusher
java.lang.Object
com.saxonica.ee.stream.adjunct.MergeInstrAdjunct.MergePusher
- All Implemented Interfaces:
PushEvaluator
- Enclosing class:
MergeInstrAdjunct
-
Constructor Summary
ConstructorsConstructorDescriptionMergePusher
(MergeInstr.MergeSource ms, PackageData pd, String href, ParseOptions options) -
Method Summary
Modifier and TypeMethodDescriptionprocessLeavingTail
(Outputter output, XPathContext context) Evaluate a construct in push mode, sending the value of the construct to a supplied outputter
-
Constructor Details
-
MergePusher
-
-
Method Details
-
processLeavingTail
Description copied from interface:PushEvaluator
Evaluate a construct in push mode, sending the value of the construct to a supplied outputter- Specified by:
processLeavingTail
in interfacePushEvaluator
- Parameters:
output
- the outputter to which the result should be sentcontext
- the evaluation context- Returns:
- either a
TailCall
or null. ATailCall
represents unfinished work that must be completed by the caller. Specifically, if a non-null value is returned, the caller must either complete the evaluation by evaluating tail calls until null is returned (which can be conveniently achieved by callingExpression.dispatchTailCall(TailCall)
, or it must return theTailCall to its own caller
- Throws:
XPathException
- if a dynamic error occurs during the evaluation.
-