public class SwitchAdjunct extends TransmissionAdjunct
| Constructor and Description |
|---|
SwitchAdjunct() |
| Modifier and Type | Method and Description |
|---|---|
WatchMaker |
getWatchMaker(boolean forGrouping)
Get a WatchMaker, a factory class that creates a Watch to evaluate this expression
in streaming mode.
|
Feed |
makeItemFeed(WatchManager watchManager,
Feed out,
XPathContext context) |
Trigger |
makeTransmissionFlow(WatchManager watchManager,
Expression exp,
Feed out,
XPathContext context)
Make a Trigger that implements this expression in streaming mode.
|
void |
setExpression(Expression expression)
Set the expression being processed by this StreamingAdjunct
|
computeStreamability, findConsumingArg, getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, toStreamingPatternpublic void setExpression(Expression expression)
StreamingAdjunctsetExpression in class StreamingAdjunctexpression - the expression being processedpublic WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
StreamingAdjunctExpression.WATCH_METHODgetWatchMaker in class TransmissionAdjunctforGrouping - true if the selected items are being groupedXPathException - in the event of a failurepublic Trigger makeTransmissionFlow(WatchManager watchManager, Expression exp, Feed out, XPathContext context) throws XPathException
TransmissionAdjunctmakeTransmissionFlow in class TransmissionAdjunctwatchManager - the WatchManager that fires this triggerexp - the expressionout - the next action in the push pipeline for evaluationcontext - the XPath dynamic contextXPathException - if a dynamic evaluation error occurs.public Feed makeItemFeed(WatchManager watchManager, Feed out, XPathContext context) throws XPathException
XPathExceptionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.