Package lumis.portal.el
Class LumisExpressionEvaluatorImpl
- java.lang.Object
-
- javax.servlet.jsp.el.ExpressionEvaluator
-
- lumis.portal.el.commonsel.ExpressionEvaluatorImpl
-
- lumis.portal.el.LumisExpressionEvaluatorImpl
-
public class LumisExpressionEvaluatorImpl extends lumis.portal.el.commonsel.ExpressionEvaluatorImpl
Object that extends the standard ExpressionEvaluatorImpl. This object however does not store expressions in cache.- Since:
- 4.0.9
- Version:
- $Revision: 20622 $ $Date: 2017-10-18 13:14:01 -0200 (Wed, 18 Oct 2017) $
-
-
Constructor Summary
Constructors Constructor Description LumisExpressionEvaluatorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
customFunctionInvocationEvalution(lumis.portal.el.commonsel.FunctionInvocation functionInvocation, VariableResolver pResolver, FunctionMapper functions, lumis.portal.el.commonsel.Logger pLogger)
java.lang.Object
evaluate(java.lang.String expressionString, java.lang.Class expectedType, VariableResolver resolver, FunctionMapper functions)
Evaluates the given expression Stringjava.lang.Object
parseExpressionString(java.lang.String pExpressionString)
Gets the parsed form of the given expression string.
-
-
-
Method Detail
-
customFunctionInvocationEvalution
public static java.lang.Object customFunctionInvocationEvalution(lumis.portal.el.commonsel.FunctionInvocation functionInvocation, VariableResolver pResolver, FunctionMapper functions, lumis.portal.el.commonsel.Logger pLogger) throws ELException
- Throws:
ELException
-
parseExpressionString
public java.lang.Object parseExpressionString(java.lang.String pExpressionString) throws ELException
Description copied from class:lumis.portal.el.commonsel.ExpressionEvaluatorImpl
Gets the parsed form of the given expression string. If the parsed form is cached (and caching is not bypassed), return the cached form, otherwise parse and cache the value. Returns either a String, Expression, or ExpressionString.- Overrides:
parseExpressionString
in classlumis.portal.el.commonsel.ExpressionEvaluatorImpl
- Throws:
ELException
-
evaluate
public java.lang.Object evaluate(java.lang.String expressionString, java.lang.Class expectedType, VariableResolver resolver, FunctionMapper functions) throws ELException
Description copied from class:lumis.portal.el.commonsel.ExpressionEvaluatorImpl
Evaluates the given expression String- Overrides:
evaluate
in classlumis.portal.el.commonsel.ExpressionEvaluatorImpl
- Parameters:
expressionString
- The expression to be evaluated.expectedType
- The expected type of the result of the evaluationresolver
- A VariableResolver instance that can be used at runtime to resolve the name of implicit objects into Objects.functions
- A FunctionMapper to resolve functions found in the expression. It can be null, in which case no functions are supported for this invocation.- Returns:
- the expression String evaluated to the given expected type
- Throws:
ELException
-
-