public class ApplyTemplatesAdjunct extends StreamingAdjunct
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
|
FeedMaker |
getFeedMaker(Expression expr,
int arg)
Get a FeedMaker, a factory class that creates a Feed to evaluate this expression
in streaming mode.
|
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, setConfiguration
public WatchMaker getWatchMaker(Expression expression, List<String> reasonsForFailure) throws XPathException
StreamingAdjunct
Expression.WATCH_METHOD
getWatchMaker
in class StreamingAdjunct
expression
- 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
StreamingAdjunct
getFeedMaker
in class StreamingAdjunct
expr
- 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 failureprotected static void checkParams(WithParam[] params) throws XPathException
params
- the parameters to be checkedXPathException
- if the streamability conditions are not satisfiedCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.