Package com.saxonica.ee.stream.watch
Interface WatchMaker
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface WatchMaker
A WatchMaker is a factory class for creating aWatch
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Trigger
makeWatch(WatchManager watchManager, ItemFeed out, XPathContext context)
Make a Trigger: this comprises (a) a pattern to match the nodes that should be processed during a streaming pass of the source document, and (b) the processing of those nodes by a WatchAction or perhaps a sequence of WatchActions in a pipeline.
-
-
-
Method Detail
-
makeWatch
Trigger makeWatch(WatchManager watchManager, ItemFeed out, XPathContext context) throws XPathException
Make a Trigger: this comprises (a) a pattern to match the nodes that should be processed during a streaming pass of the source document, and (b) the processing of those nodes by a WatchAction or perhaps a sequence of WatchActions in a pipeline. If a pipeline is needed, this method is responsible for constructing the entire pipeline- Parameters:
watchManager
- the WatchManagerout
- the destination for events representing the output of this pipelinecontext
- the dynamic evaluation context- Returns:
- the new Trigger
- Throws:
XPathException
- if any dynamic error occurs
-
-