public class SnapshotFnAdjunct extends StreamingAdjunct implements FeedMaker
Constructor and Description |
---|
SnapshotFnAdjunct() |
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, toStreamingPattern
public WatchMaker getWatchMaker(boolean forGrouping)
StreamingAdjunct
Expression.WATCH_METHOD
getWatchMaker
in class StreamingAdjunct
forGrouping
- true if the selected items are being groupedpublic Feed makeItemFeed(WatchManager watchManager, Feed out, XPathContext context) throws XPathException
makeItemFeed
in interface FeedMaker
XPathException
public PostureAndSweep computeStreamability(boolean allowExtensions, ContextItemStaticInfo contextInfo, List<String> reasons)
StreamingAdjunct
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 this; the
contents are human-readable messages explaining why the expression is not streamable.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.