public class FirstItemExpressionAdjunct extends FilteringAdjunct implements FeedMaker
Constructor and Description |
---|
FirstItemExpressionAdjunct() |
Modifier and Type | Method and Description |
---|---|
PostureAndSweep |
computeStreamability(ContextItemStaticInfoEE contextInfo,
java.util.List<java.lang.String> reasons)
Get the posture and sweep of this expression as defined in the W3C streamability specifications.
|
FilteringFeed.Filter |
makeFilter(XPathContext context,
Feed out)
Make a filter for the event stream
|
makeItemFeed
getWatchMaker, makeTransmissionFlow
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression, toStreamingPattern
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeItemFeed
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 thispublic FilteringFeed.Filter makeFilter(XPathContext context, Feed out) throws XPathException
makeFilter
in class FilteringAdjunct
context
- the XPath dynamic contextout
- destination for the output of this filterXPathException
- if a dynamic evaluation error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.