public class GroupedItemStoppingFeed extends ItemFeed
Constructor and Description |
---|
GroupedItemStoppingFeed(Expression expression,
Feed result,
Stack<XPathContext> contextStack) |
Modifier and Type | Method and Description |
---|---|
void |
append(Item item)
Supply one item towards the streamed input of the expression (that is, one item of the grouping population)
|
void |
close()
Finish evaluating the expression.
|
void |
open()
Called at the start of processing each item selected by the for-each-group instruction
|
getContext, getContextStack, getExpression, getPipelineConfiguration, getResult, setPipelineConfiguration
public GroupedItemStoppingFeed(Expression expression, Feed result, Stack<XPathContext> contextStack)
public void open() throws XPathException
open
in interface Feed
open
in class ItemFeed
XPathException
public void append(Item item) throws XPathException
append
in interface Feed
append
in class ItemFeed
item
- the next item from the populationXPathException
- to report any failurepublic void close() throws XPathException
ItemFeed
close
in interface Feed
close
in class ItemFeed
XPathException
- if a dynamic error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.