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)
Make a filter for the event stream
|
Pattern |
toStreamingPattern(Configuration config)
Convert this expression to a streaming pattern (a pattern used internally to match nodes during
push processing of an event stream)
|
makeItemFeedgetWatchMaker, makeTransmissionFlowgetConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, setConfiguration, setExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeItemFeedpublic PostureAndSweep computeStreamability(boolean allowExtensions, ContextItemStaticInfo contextInfo, List<String> reasons)
computeStreamability in class StreamingAdjunctallowExtensions - 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 Pattern toStreamingPattern(Configuration config)
toStreamingPattern in class StreamingAdjunctconfig - the Saxon configurationpublic FilteringFeed.Filter makeFilter(XPathContext context) throws XPathException
makeFilter in class FilteringAdjunctcontext - the XPath dyamic contextXPathException - if a dynamic evaluation error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.