- All Implemented Interfaces:
- Direct Known Subclasses:
public abstract class TransmissionAdjunct extends StreamingAdjunct implements FeedMakerA subclass of StreamingAdjunct used for expressions that have a sequence-valued operand with usage transmission. Such expressions may appear as a filter for striding or crawling nodes, in which case they need to filter (or in some cases augment) the event stream rather than operating at the level of composed items.
Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
getWatchMaker(boolean forGrouping)Get a WatchMaker, a factory class that creates a Watch to evaluate this expression in streaming mode.
makeTransmissionFlow(WatchManager watchManager, Expression exp, ItemFeed out, XPathContext context)Make a Trigger that implements this expression in streaming mode.
Methods inherited from class com.saxonica.ee.stream.adjunct.StreamingAdjunct
computeStreamability, findConsumingArg, getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression, toStreamingPattern
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public WatchMaker getWatchMaker(boolean forGrouping) throws XPathExceptionDescription copied from class:
StreamingAdjunctGet a WatchMaker, a factory class that creates a Watch to evaluate this expression in streaming mode. This method will only be called if the getImplementationMethod() method of the expression includes the value
public Trigger makeTransmissionFlow(WatchManager watchManager, Expression exp, ItemFeed out, XPathContext context) throws XPathExceptionMake a Trigger that implements this expression in streaming mode. This method is used for an expression that is striding or crawling, and it delivers a Trigger connected to a sequence of Feeds which together have the effect of delivering a sequence of events and/or items that together represent the results of this instruction. This method MUST be implemented for every expression that has an operand whose usage is transmission (and for every such operand).
watchManager- the WatchManager that fires this trigger
exp- the expression
out- the next action in the push pipeline for evaluation
context- the XPath dynamic context
- the Trigger (a Watch with a pattern)
XPathException- if a dynamic evaluation error occurs.