public class ForEachAdjunct extends TransmissionAdjunct implements FeedMaker
| Constructor and Description |
|---|
ForEachAdjunct() |
| Modifier and Type | Method and Description |
|---|---|
PostureAndSweep |
computeStreamability(ContextItemStaticInfoEE contextInfo,
java.util.List<java.lang.String> reasons)
Compute the posture and sweep of this expression as defined in the W3C streamability specifications.
|
protected Inversion |
getActionInversion(boolean forGrouping) |
static PostureAndSweep |
getStreamability(ContextSwitchingExpression expression,
ContextItemStaticInfoEE contextInfo,
java.util.List<java.lang.String> reasons) |
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) |
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)
|
makeTransmissionFlowfindConsumingArg, getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpressionpublic Pattern toStreamingPattern(Configuration config)
toStreamingPattern in class StreamingAdjunctconfig - the Saxon configurationprotected Inversion getActionInversion(boolean forGrouping) throws XPathException
XPathExceptionpublic WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
StreamingAdjunctExpression.WATCH_METHODgetWatchMaker in class TransmissionAdjunctforGrouping - 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 FeedMakerXPathExceptionpublic PostureAndSweep computeStreamability(ContextItemStaticInfoEE contextInfo, java.util.List<java.lang.String> reasons)
StreamingAdjunctcomputeStreamability in class StreamingAdjunctcontextInfo - 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 static PostureAndSweep getStreamability(ContextSwitchingExpression expression, ContextItemStaticInfoEE contextInfo, java.util.List<java.lang.String> reasons)
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.