Class TransmissionAdjunct

    • Constructor Detail

      • TransmissionAdjunct

        public TransmissionAdjunct()
    • Method Detail

      • getWatchMaker

        public WatchMaker getWatchMaker​(boolean forGrouping)
                                 throws XPathException
        Description copied from class: StreamingAdjunct
        Get 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 Expression.WATCH_METHOD
        getWatchMaker in class StreamingAdjunct
        forGrouping - true if the selected items are being grouped
        a Watchmaker to evaluate the expression, or null if it is not streamable with respect to the specificed argument.
        XPathException - in the event of a failure
      • makeTransmissionFlow

        public Trigger makeTransmissionFlow​(WatchManager watchManager,
                                            Expression exp,
                                            ItemFeed out,
                                            XPathContext context)
                                     throws XPathException
        Make 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.