| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.expr.FunctionCall
net.sf.saxon.functions.SystemFunction
net.sf.saxon.functions.CurrentGroup
Implements the XSLT functions current-group() and current-grouping-key()
| Field Summary | |
static int | 
CURRENT_GROUP
 | 
static int | 
CURRENT_GROUPING_KEY
 | 
| Fields inherited from class net.sf.saxon.functions.SystemFunction | 
operation | 
| Fields inherited from class net.sf.saxon.expr.FunctionCall | 
argument | 
| Fields inherited from class net.sf.saxon.expr.ComputedExpression | 
locationId, staticProperties | 
| Fields inherited from interface net.sf.saxon.expr.Expression | 
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD | 
| Constructor Summary | |
CurrentGroup()
 | 
|
| Method Summary | |
 Item | 
evaluateItem(XPathContext c)
Evaluate the expression  | 
 int | 
getIntrinsicDependencies()
Determine the dependencies  | 
 SequenceIterator | 
iterate(XPathContext c)
Return an iteration over the result sequence  | 
 Expression | 
preEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing (because the value of the expression depends on the runtime context)  | 
| Methods inherited from class net.sf.saxon.functions.SystemFunction | 
addContextDocumentArgument, checkArguments, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefault | 
| Methods inherited from class net.sf.saxon.expr.FunctionCall | 
checkArgumentCount, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, promote, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheck | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final int CURRENT_GROUP
public static final int CURRENT_GROUPING_KEY
| Constructor Detail | 
public CurrentGroup()
| Method Detail | 
public Expression preEvaluate(StaticContext env)
preEvaluate in class FunctionCall
public Item evaluateItem(XPathContext c)
                  throws XPathException
evaluateItem in interface ExpressionevaluateItem in class ComputedExpressionc - The context in which the expression is to be evaluated
XPathException - if any dynamic error occurs evaluating the
     expression
public SequenceIterator iterate(XPathContext c)
                         throws XPathException
iterate in interface Expressioniterate in class ComputedExpressionc - supplies the context for evaluation
XPathException - if any dynamic error occurs evaluating the
     expressionpublic int getIntrinsicDependencies()
getIntrinsicDependencies in class ComputedExpression
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||