Package com.saxonica.ee.stream.adjunct
Class ItemsFromStreamer
- java.lang.Object
-
- com.saxonica.ee.stream.adjunct.StreamingAdjunct
-
- com.saxonica.ee.stream.adjunct.TransmissionAdjunct
-
- com.saxonica.ee.stream.adjunct.FilteringAdjunct
-
- com.saxonica.ee.stream.adjunct.FilterFnStreamer
-
- com.saxonica.ee.stream.adjunct.ItemsFromStreamer
-
- All Implemented Interfaces:
FeedMaker
public class ItemsFromStreamer extends FilterFnStreamer
Generate streaming code for the saxon:items-from function. The streamability rules are the same as for the fn:filter function.
-
-
Constructor Summary
Constructors Constructor Description ItemsFromStreamer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilteringFeed.Filter
makeFilter(XPathContext context, ItemFeed out)
Make a filter for the event stream-
Methods inherited from class com.saxonica.ee.stream.adjunct.FilterFnStreamer
checkPredicateFunction, computeStreamability
-
Methods inherited from class com.saxonica.ee.stream.adjunct.FilteringAdjunct
makeItemFeed
-
Methods inherited from class com.saxonica.ee.stream.adjunct.TransmissionAdjunct
getWatchMaker, makeTransmissionFlow
-
Methods inherited from class com.saxonica.ee.stream.adjunct.StreamingAdjunct
emptyAdjunctMap, findConsumingArg, genId, getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression, toStreamingPattern
-
-
-
-
Method Detail
-
makeFilter
public FilteringFeed.Filter makeFilter(XPathContext context, ItemFeed out) throws XPathException
Make a filter for the event stream- Overrides:
makeFilter
in classFilterFnStreamer
- Parameters:
context
- the XPath dyamic 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
-
-