public class ApplyTemplatesAdjunct extends StreamingAdjunct implements FeedMaker
| Constructor and Description | 
|---|
| ApplyTemplatesAdjunct() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static void | checkParams(WithParam[] params)Test whether template parameters satisfy the conditions for streamability | 
| 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. | 
| Feed | makeItemFeed(WatchManager watchManager,
            Feed out,
            XPathContext context) | 
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, setConfiguration, setExpression, toStreamingPatternpublic PostureAndSweep computeStreamability(boolean allowExtensions, ContextItemStaticInfo contextInfo, List<String> reasons)
StreamingAdjunctcomputeStreamability in class StreamingAdjunctallowExtensions - 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.public WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
StreamingAdjunctExpression.WATCH_METHODgetWatchMaker in class StreamingAdjunctforGrouping - 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 FeedMakerXPathExceptionprotected static void checkParams(WithParam[] params) throws XPathException
params - the parameters to be checkedXPathException - if the streamability conditions are not satisfiedCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.