public class LetExpressionAdjunct extends StreamingAdjunct
Constructor and Description |
---|
LetExpressionAdjunct() |
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.
|
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, setConfiguration, setExpression, toStreamingPattern
public WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
StreamingAdjunct
Expression.WATCH_METHOD
getWatchMaker
in class StreamingAdjunct
forGrouping
- true if the selected items are being groupedXPathException
- in the event of a failurepublic 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.