public class GroupStartingFeed extends GroupingFeed
| Constructor and Description |
|---|
GroupStartingFeed(GroupVariableReference expression,
Feed result,
Stack<XPathContext> contextStack) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isStartOfNewGroup(boolean atStart,
XPathContext context)
Determine whether the current item is the start of a new group
|
void |
open()
Called at the start of the for-each-group instruction
|
append, close, getControllingExpression, getLocalContext, setControllingExpression, setOuterFeedgetContext, getContextStack, getExpression, getPipelineConfiguration, getResult, setPipelineConfigurationpublic GroupStartingFeed(GroupVariableReference expression, Feed result, Stack<XPathContext> contextStack)
public void open()
throws XPathException
open in interface Feedopen in class GroupingFeedXPathExceptionprotected boolean isStartOfNewGroup(boolean atStart,
XPathContext context)
throws XPathException
isStartOfNewGroup in class GroupingFeedatStart - true if this item is the first in the populationcontext - the evaluation context. The item in question will be the
context itemXPathException - if a dynamic error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.