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, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheck
getLength, head, itemAt, iterate, reduce, subsequence
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, head, itemAt, reduce, subsequence
public 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 SystemFunction
public int getSpecialProperties(Expression[] arguments)
getSpecialProperties
in class SystemFunction
arguments
- 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 SystemFunction
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.