public class RootExpressionAdjunct extends StreamingAdjunct
Constructor and Description |
---|
RootExpressionAdjunct() |
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.
|
WatchMaker |
getWatchMaker(boolean forGrouping)
Get a WatchMaker, a factory class that creates a Watch to evaluate this expression
in streaming mode.
|
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)
|
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, setConfiguration, setExpression
public Pattern toStreamingPattern(Configuration config)
toStreamingPattern
in class StreamingAdjunct
config
- the Saxon configurationpublic 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 for the expressionreasons
- the caller may supply a list, in which case the implementation may add to thispublic WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
Expression.WATCH_METHOD
getWatchMaker
in class StreamingAdjunct
forGrouping
- XPathException
- in the event of a failureCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.