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
public static class MergeInstrAdjunct.MergePusher extends java.lang.Object implements PushEvaluator
-
-
Constructor Summary
Constructors Constructor Description MergePusher(MergeInstr.MergeSource ms, PackageData pd, java.lang.String href, ParseOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TailCall
processLeavingTail(Outputter output, XPathContext context)
Evaluate a construct in push mode, sending the value of the construct to a supplied outputter
-
-
-
Constructor Detail
-
MergePusher
public MergePusher(MergeInstr.MergeSource ms, PackageData pd, java.lang.String href, ParseOptions options)
-
-
Method Detail
-
processLeavingTail
public TailCall processLeavingTail(Outputter output, XPathContext context) throws XPathException
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.
-
-