public class FirstItemExpressionAdjunct extends FilteringAdjunct implements FeedMaker
Constructor and Description |
---|
FirstItemExpressionAdjunct() |
Modifier and Type | Method and Description |
---|---|
PostureAndSweep |
computeStreamability(boolean allowExtensions,
ContextItemStaticInfo contextInfo,
List<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, setConfiguration, setExpression, toStreamingPattern
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeItemFeed
public PostureAndSweep computeStreamability(boolean allowExtensions, ContextItemStaticInfo contextInfo, List<String> reasons)
computeStreamability
in class StreamingAdjunct
allowExtensions
- if false, the definition of "guaranteed streamability" in the
W3C specification is used. If true, Saxon extensions are permitted, which make somecontextInfo
- 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 dyamic contextout
- XPathException
- if a dynamic evaluation error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.