public class UserFunctionCallAdjunct extends StreamingAdjunct implements FeedMaker
| Constructor and Description |
|---|
UserFunctionCallAdjunct() |
| Modifier and Type | Method and Description |
|---|---|
PostureAndSweep |
computeStreamability(boolean allowExtensions,
ContextItemStaticInfo contextInfo,
List<String> reasons)
Compute the posture and sweep of this expression as defined in the W3C streamability specifications.
|
WatchMaker |
getWatchMaker(boolean forGrouping)
Get a WatchMaker, a factory class that creates a Watch to evaluate this expression
in streaming mode.
|
Feed |
makeItemFeed(WatchManager watchManager,
Feed out,
XPathContext context) |
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, setConfiguration, setExpression, toStreamingPatternpublic PostureAndSweep computeStreamability(boolean allowExtensions, ContextItemStaticInfo contextInfo, List<String> reasons)
StreamingAdjunctcomputeStreamability 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 this; the
contents are human-readable messages explaining why the expression is not streamable.public WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
StreamingAdjunctExpression.WATCH_METHODgetWatchMaker in class StreamingAdjunctforGrouping - true if the selected items are being groupedXPathException - in the event of a failurepublic Feed makeItemFeed(WatchManager watchManager, Feed out, XPathContext context) throws XPathException
makeItemFeed in interface FeedMakerXPathExceptionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.