public class ForEachGroupAdjunct extends ForEachAdjunct
Constructor and Description |
---|
ForEachGroupAdjunct() |
Modifier and Type | Method and Description |
---|---|
PostureAndSweep |
computeStreamability(ContextItemStaticInfoEE contextInfo,
java.util.List<java.lang.String> reasons)
Get the "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.
|
static GroupBoundaryTester |
makeBoundaryTester(ForEachGroup instruction,
XPathContext populationContext) |
Feed |
makeItemFeed(WatchManager watchManager,
Feed out,
XPathContext context) |
getActionInversion, getStreamability, toStreamingPattern
makeTransmissionFlow
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression
public PostureAndSweep computeStreamability(ContextItemStaticInfoEE contextInfo, java.util.List<java.lang.String> reasons)
computeStreamability
in class ForEachAdjunct
contextInfo
- whatever is known statically about the context itemreasons
- return parameter to hold reasons for non-streamability @return the posture and sweeppublic WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
StreamingAdjunct
Expression.WATCH_METHOD
getWatchMaker
in class ForEachAdjunct
forGrouping
- 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 FeedMaker
makeItemFeed
in class ForEachAdjunct
XPathException
public static GroupBoundaryTester makeBoundaryTester(ForEachGroup instruction, XPathContext populationContext)
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.