public class CurrentMergeGroup extends SystemFunction
| Constructor and Description |
|---|
CurrentMergeGroup() |
| Modifier and Type | Method and Description |
|---|---|
Sequence |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
MergeInstr |
getControllingInstruction()
Get the innermost containing xsl:merge instruction, if there is one
|
ItemType |
getResultItemType()
Determine the item type of the value returned by the function
|
int |
getSpecialProperties(Expression[] arguments)
Determine the special properties of this expression.
|
CurrentMergeGroupAdjunct |
getStreamingAdjunct()
Get a class that supports streamed evaluation of this expression
|
boolean |
isInLoop()
Determine whether the current-group() function is executed repeatedly within a single iteration
of the containing xsl:for-each-group
|
void |
setControllingInstruction(MergeInstr instruction,
boolean isInLoop)
Set the containing xsl:for-each-group instruction, if there is one
|
equals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getExpressionCompiler, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getRetainedStaticContext, getStaticBaseUriString, importAttributes, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheckgetLength, head, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequencepublic void setControllingInstruction(MergeInstr instruction, boolean isInLoop) throws XPathException
instruction - the (innermost) containing xsl:for-each-group instructionisInLoop - true if the current-group() expression is evaluated more than once during
evaluation of the body of the for-each-group instructionXPathException - for example if the argument to the function is statically known and is
not a valid source namepublic MergeInstr getControllingInstruction()
public boolean isInLoop()
public ItemType getResultItemType()
getResultItemType in class SystemFunctionpublic int getSpecialProperties(Expression[] arguments)
getSpecialProperties in class SystemFunctionarguments - the actual arguments supplied to the function callStaticProperty.NON_CREATIVE (unless the variable is assignable using saxon:assign)public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
context - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequenceIteratorsXPathException - if a dynamic error occurs during the evaluation of the expressionpublic CurrentMergeGroupAdjunct getStreamingAdjunct()
getStreamingAdjunct in class SystemFunctionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.