| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jec.Operator
net.sf.jec.namedop.GroupOperator
net.sf.jec.namedop.CountOperator
CountOperator counts the amount of elements in the context collection. It doesn't take any argument operator.
| Field Summary | 
| Fields inherited from class net.sf.jec.Operator | 
argOps, nestedOp, showFunctionString | 
| Constructor Summary | |
CountOperator()
Creates a new CountOperator  | 
|
| Method Summary | |
protected  java.lang.Object | 
directMap(java.lang.Object rootCtx,
          java.lang.Object ctx)
Returns the associated value to the given context and root context  | 
 java.lang.String | 
toExpressionString()
Returns an expression String representation for this operator  | 
 java.lang.String | 
toFunctionString()
Returns a function representation String for this operator  | 
| Methods inherited from class net.sf.jec.namedop.GroupOperator | 
applyToGroup | 
| Methods inherited from class net.sf.jec.Operator | 
apply, setArgumentOperators, setNestedOperator, toString | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public CountOperator()
| Method Detail | 
public java.lang.String toFunctionString()
toFunctionString in class Operatorpublic java.lang.String toExpressionString()
toExpressionString in class Operator
protected java.lang.Object directMap(java.lang.Object rootCtx,
                                     java.lang.Object ctx)
                              throws EvaluationException
directMap in class OperatorrootCtx - The root context, needed for operators that require
 expression evaluation from root point. Example: Indexer operatorsctx - The current context where the operator will work over
EvaluationException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||