public class ForEachGroupAdjunct extends ForEachAdjunct
Constructor and Description |
---|
ForEachGroupAdjunct() |
Modifier and Type | Method and Description |
---|---|
PostureAndSweep |
computeStreamability(boolean allowExtensions,
ContextItemStaticInfo contextInfo,
List<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, setConfiguration, setExpression
public PostureAndSweep computeStreamability(boolean allowExtensions, ContextItemStaticInfo contextInfo, List<String> reasons)
computeStreamability
in class ForEachAdjunct
allowExtensions
- true if Saxon streaming extensions are allowedcontextInfo
- reasons
- 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-2014 Saxonica Limited. All rights reserved.