org.ow2.opensuit.cel
Interface IEvaluationContext

All Known Implementing Classes:
SimpleEvaluationContext

public interface IEvaluationContext

Interface declaring all methods which must be implemented, by a class which implements . Represent the evaluation context behavior .

Version:
1.0
Author:
Adrien Ruffie / Pierre Smeyers, http://opensuit.ow2.org/

Method Summary
 java.lang.Object getFunctionObject(ICompilationContext.IFunctionContext function)
          Return the owner of the specified function, located into this evaluation context
 java.lang.Object getVariable(java.lang.String iName)
          Return the variable linked to the iName parameter which can be located into this evaluation context
 

Method Detail

getVariable

java.lang.Object getVariable(java.lang.String iName)
                             throws java.lang.Exception
Return the variable linked to the iName parameter which can be located into this evaluation context

Parameters:
iName - The variable name searched into a
Returns:
Return the searched from this
Throws:
java.lang.Exception

getFunctionObject

java.lang.Object getFunctionObject(ICompilationContext.IFunctionContext function)
Return the owner of the specified function, located into this evaluation context

Parameters:
function - The of the demanded method
Returns:
Return the searched with the bound function from this
Throws:
java.lang.Exception


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.