public class ForEachAdjunct extends StreamingAdjunct
| Constructor and Description | 
|---|
| ForEachAdjunct() | 
| Modifier and Type | Method and Description | 
|---|---|
| FeedMaker | getFeedMaker(Expression expr,
            int arg)Get a FeedMaker, a factory class that creates a Feed to evaluate this expression
 in streaming mode. | 
| static int | getStreamability(ContextSwitchingExpression expression,
                int syntacticContext,
                boolean allowExtensions,
                List<String> reasons) | 
| WatchMaker | getWatchMaker(Expression expression,
             List<String> reasonsForFailure)Get a WatchMaker, a factory class that creates a Watch to evaluate this expression
 in streaming mode. | 
getConfiguration, makeStreamingAdjunct, setConfigurationpublic WatchMaker getWatchMaker(Expression expression, List<String> reasonsForFailure) throws XPathException
StreamingAdjunctExpression.WATCH_METHODgetWatchMaker in class StreamingAdjunctexpression - the expression to be evaluated in streaming modereasonsForFailure - if non-null, this is a list supplied by the caller which will be populated
 by the callee with one or more messages indicating why it was not possible to allocate a WatchMaker.
 Normally if the list is non-empty on return, the return value from the method will be null.XPathException - in the event of a failurepublic FeedMaker getFeedMaker(Expression expr, int arg) throws XPathException
StreamingAdjunctgetFeedMaker in class StreamingAdjunctexpr - the expression to be evaluated in streaming modearg - identifies the argument with respect to which the expression is to be inverted:
 usually 0 to indicate the first argument is the value that is streamed. Argument numbering
 is the same as the sequence of arguments/operands returned by the method Expression.iterateSubExpressions()XPathException - in the event of a failurepublic static int getStreamability(ContextSwitchingExpression expression, int syntacticContext, boolean allowExtensions, List<String> reasons)
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.