Package com.saxonica.ee.stream.adjunct
Class FilteringAdjunct
java.lang.Object
com.saxonica.ee.stream.adjunct.StreamingAdjunct
com.saxonica.ee.stream.adjunct.TransmissionAdjunct
com.saxonica.ee.stream.adjunct.FilteringAdjunct
- All Implemented Interfaces:
FeedMaker
- Direct Known Subclasses:
FilterExpressionAdjunct,FilterFnStreamer,FirstItemExpressionAdjunct,OutermostStreamer,RemoveStreamer,SubscriptExpressionAdjunct,SubsequenceStreamer,TailExpressionAdjunct
A 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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract FilteringFeed.FiltermakeFilter(XPathContext context, ItemFeed out) Make a filter for the event streammakeItemFeed(WatchManager watchManager, ItemFeed out, XPathContext context) Methods inherited from class com.saxonica.ee.stream.adjunct.TransmissionAdjunct
getWatchMaker, makeTransmissionFlowMethods inherited from class com.saxonica.ee.stream.adjunct.StreamingAdjunct
computeStreamability, emptyAdjunctMap, findConsumingArg, genId, getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression, toStreamingPattern
-
Constructor Details
-
FilteringAdjunct
public FilteringAdjunct()
-
-
Method Details
-
makeFilter
public abstract FilteringFeed.Filter makeFilter(XPathContext context, ItemFeed out) throws XPathException Make a filter for the event stream- Parameters:
context- the XPath dynamic contextout- the destination for the filtered events- Returns:
- a filter that can be added to the event stream
- Throws:
XPathException- if a dynamic evaluation error occurs
-
makeItemFeed
public ItemFeed makeItemFeed(WatchManager watchManager, ItemFeed out, XPathContext context) throws XPathException - Specified by:
makeItemFeedin interfaceFeedMaker- Throws:
XPathException
-