org.ow2.opensuit.cel.util
Class SimpleEvaluationContext
java.lang.Object
org.ow2.opensuit.cel.util.SimpleEvaluationContext
- All Implemented Interfaces:
- IEvaluationContext
public class SimpleEvaluationContext
- extends java.lang.Object
- implements IEvaluationContext
|
Method Summary |
java.lang.Object |
getFunctionObject(ICompilationContext.IFunctionContext function)
Return the |
java.lang.Object |
getVariable(java.lang.String name)
Return the variable linked to the iName
parameter which can be located into
this evaluation context |
void |
setFunctionHandler(java.lang.String prefix,
java.lang.String name,
java.lang.Object obj,
java.lang.reflect.Method function)
|
void |
setVariable(java.lang.String name,
java.lang.Object obj)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleEvaluationContext
public SimpleEvaluationContext()
setVariable
public void setVariable(java.lang.String name,
java.lang.Object obj)
setFunctionHandler
public void setFunctionHandler(java.lang.String prefix,
java.lang.String name,
java.lang.Object obj,
java.lang.reflect.Method function)
getVariable
public java.lang.Object getVariable(java.lang.String name)
- Description copied from interface:
IEvaluationContext
- Return the variable linked to the iName
parameter which can be located into
this evaluation context
- Specified by:
getVariable in interface IEvaluationContext
- Parameters:
name - The variable name
searched into a
- Returns:
- Return the searched
getFunctionObject
public java.lang.Object getFunctionObject(ICompilationContext.IFunctionContext function)
- Description copied from interface:
IEvaluationContext
- Return the
Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.