public class CurrentMergeGroup extends SystemFunctionCall implements Callable
operation
argument
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, WATCH_METHOD
Constructor and Description |
---|
CurrentMergeGroup() |
Modifier and Type | Method and Description |
---|---|
Sequence |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
int |
computeSpecialProperties()
Determine the special properties of this expression.
|
Expression |
copy()
Copy an expression.
|
MergeInstr |
getControllingInstruction()
Get the innermost containing xsl:merge instruction, if there is one
|
int |
getIntrinsicDependencies()
Determine the dependencies
|
ItemType |
getItemType()
Determine the item type of the value returned by the function
|
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
|
SequenceIterator |
iterate(XPathContext c)
Return an iteration over the result sequence
|
void |
setControllingInstruction(MergeInstr instruction,
boolean isInLoop)
Set the containing xsl:for-each-group instruction, if there is one
|
addContextDocumentArgument, addDocToPathMap, bindStaticContext, checkArguments, computeCardinality, equalOrNull, equals, getContextNode, getConvertingCallable, getDefaultArgumentNode, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getImplementationMethod, getOperation, getRequiredType, makeSystemFunction, operands, optimize, setDetails, toShortString, useContextItemAsDefault
addExternalFunctionCallToPathMap, checkArgumentCount, explain, getArguments, getDisplayName, getExpressionName, getFunctionName, getNumberOfArguments, hashCode, preEvaluate, promote, replaceOperand, setArguments, setFunctionName, simplifyArguments, toString, typeCheck
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, clearStreamabilityData, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getConfiguration, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExpressionCompiler, getHostLanguage, getIntegerBounds, getLineNumber, getLocationId, getObjectName, getPosture, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getStreamability, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isIdentical, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, makeStreamingAdjunct, markTailFunctionCalls, operandList, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, setPostureAndSweep, simplify, staticTypeCheck, suppressValidation, toPattern, toStreamingPattern, typeError, unordered
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 getItemType()
getItemType
in class SystemFunctionCall
public int getIntrinsicDependencies()
getIntrinsicDependencies
in class Expression
public int computeSpecialProperties()
computeSpecialProperties
in class SystemFunctionCall
StaticProperty.NON_CREATIVE
(unless the variable is assignable using saxon:assign)public Expression copy()
SystemFunctionCall
copy
in class SystemFunctionCall
public SequenceIterator iterate(XPathContext c) throws XPathException
iterate
in class Expression
c
- supplies the context for evaluationXPathException
- if any dynamic error occurs evaluating the
expressionpublic Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
call
in interface Callable
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 Expression
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.