public class GroupEndingWatch extends GroupingWatch
| Constructor and Description |
|---|
GroupEndingWatch(GroupVariableReference expression,
Feed out,
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
|
close, endSelectedParentNode, getControllingExpression, getLocalContext, setControllingExpression, setOuterFeed, setWatchManager, startSelectedParentNodegetContext, getContextStack, getExpression, getParentExpressionFeed, getResult, setParentExpressionFeedgetAnchorNode, getNamespaceResolver, getPipelineConfiguration, getSelection, notifySelectedLeafNode, setAnchorNode, setNamespaceResolver, setPipelineConfiguration, setSelectionpublic GroupEndingWatch(GroupVariableReference expression, Feed out, Stack<XPathContext> contextStack)
public void open()
throws XPathException
open in interface Watchopen in class GroupingWatchXPathExceptionprotected boolean isStartOfNewGroup(boolean atStart,
XPathContext context)
throws XPathException
isStartOfNewGroup in class GroupingWatchatStart - 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.