public class FilterFnStreamer extends FilteringAdjunct
Constructor and Description |
---|
FilterFnStreamer() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkPredicateFunction(Expression fn,
java.util.List<java.lang.String> reasons) |
PostureAndSweep |
computeStreamability(ContextItemStaticInfoEE contextInfo,
java.util.List<java.lang.String> reasons)
Compute the posture and sweep of this expression as defined in the W3C streamability specifications.
|
FilteringFeed.Filter |
makeFilter(XPathContext context,
ItemFeed out)
Make a filter for the event stream
|
makeItemFeed
getWatchMaker, makeTransmissionFlow
emptyAdjunctMap, findConsumingArg, getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression, toStreamingPattern
public PostureAndSweep computeStreamability(ContextItemStaticInfoEE contextInfo, java.util.List<java.lang.String> reasons)
computeStreamability
in class StreamingAdjunct
contextInfo
- Information about the context item type and posturereasons
- the caller may supply a list, in which case the implementation may add to this; the
contents are human-readable messages explaining why the expression is not streamable.public static boolean checkPredicateFunction(Expression fn, java.util.List<java.lang.String> reasons)
public FilteringFeed.Filter makeFilter(XPathContext context, ItemFeed out) throws XPathException
makeFilter
in class FilteringAdjunct
context
- the XPath dyamic contextout
- destination for the filtered outputXPathException
- if a dynamic evaluation error occursCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.