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, setOuterFeed
getContext, getContextStack, getExpression, getPipelineConfiguration, getResult, setPipelineConfiguration
public GroupStartingFeed(GroupVariableReference expression, Feed result, Stack<XPathContext> contextStack)
public void open() throws XPathException
open
in interface Feed
open
in class GroupingFeed
XPathException
protected boolean isStartOfNewGroup(boolean atStart, XPathContext context) throws XPathException
isStartOfNewGroup
in class GroupingFeed
atStart
- 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.