public class CurrentMergeGroup extends SystemFunctionCall implements Callable
operationargumentEFFECTIVE_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, useContextItemAsDefaultaddExternalFunctionCallToPathMap, checkArgumentCount, explain, getArguments, getDisplayName, getExpressionName, getFunctionName, getNumberOfArguments, hashCode, preEvaluate, promote, replaceOperand, setArguments, setFunctionName, simplifyArguments, toString, typeCheckaddToPathMap, 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, unorderedpublic 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 SystemFunctionCallpublic int getIntrinsicDependencies()
getIntrinsicDependencies in class Expressionpublic int computeSpecialProperties()
computeSpecialProperties in class SystemFunctionCallStaticProperty.NON_CREATIVE (unless the variable is assignable using saxon:assign)public Expression copy()
SystemFunctionCallcopy in class SystemFunctionCallpublic SequenceIterator iterate(XPathContext c) throws XPathException
iterate in class Expressionc - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expressionpublic Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
call in interface Callablecontext - 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 ExpressionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.