|Constructor and Description|
Create a Feed that evaluates a Callable (often but not necessarily a function)
|Modifier and Type||Method and Description|
Finish evaluating the expression.
Supply an item to the feed
dynamicError, endSelectedParentNode, getContext, getExpression, getPipelineConfiguration, getReceiver, getResult, getTerminator, hasFailed, open, processItems, setExpression, setHasFailed, setPipelineConfiguration, setTerminator, startSelectedParentNode
public CallableFeed(Callable function, Feed result, XPathContext context, Expression arguments)
function- the function or other Callable
result- the place to send the results of evaluating this Callable
context- dynamic context information
arguments- the arguments to the Callable. Typically one of these is Consuming. The expression receives its input for the consuming argument via the processItem() call, and it then evaluates the other (non-streamed) arguments by calling iterate() on them.
public void processItem(Item item) throws XPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.