public class GroupedItemStoppingFeed extends ItemFeed
| Constructor and Description |
|---|
GroupedItemStoppingFeed(Expression expression,
Feed result,
XPathContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Finish evaluating the expression.
|
void |
open(Terminator terminator)
Called at the start of processing each item selected by the for-each-group instruction
|
void |
processItem(Item item)
Supply one item towards the streamed input of the expression (that is, one item of the grouping population)
|
dynamicError, endSelectedParentNode, getContext, getExpression, getPipelineConfiguration, getReceiver, getResult, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setPipelineConfiguration, setTerminator, startSelectedParentNodepublic GroupedItemStoppingFeed(Expression expression, Feed result, XPathContext context)
public void open(Terminator terminator) throws XPathException
open in interface Feedopen in class ItemFeedterminator - XPathExceptionpublic void processItem(Item item) throws XPathException
processItem in interface FeedprocessItem in class ItemFeeditem - the next item from the populationXPathException - May be raised if a dynamic error occurspublic void close()
throws XPathException
ItemFeedclose in interface Feedclose in class ItemFeedXPathException - if a dynamic error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.