Class 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$ $Date$
    • 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, javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions, lumis.portal.el.commonsel.Logger pLogger)  
      java.lang.Object evaluate​(java.lang.String expressionString, java.lang.Class expectedType, javax.servlet.jsp.el.VariableResolver resolver, javax.servlet.jsp.el.FunctionMapper functions)
      Evaluates the given expression String
      java.lang.Object parseExpressionString​(java.lang.String pExpressionString)
      Gets the parsed form of the given expression string.
      • Methods inherited from class lumis.portal.el.commonsel.ExpressionEvaluatorImpl

        parseAndRender, parseExpression
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LumisExpressionEvaluatorImpl

        public LumisExpressionEvaluatorImpl()
    • Method Detail

      • customFunctionInvocationEvalution

        public static java.lang.Object customFunctionInvocationEvalution​(lumis.portal.el.commonsel.FunctionInvocation functionInvocation,
                                                                         javax.servlet.jsp.el.VariableResolver pResolver,
                                                                         javax.servlet.jsp.el.FunctionMapper functions,
                                                                         lumis.portal.el.commonsel.Logger pLogger)
                                                                  throws javax.servlet.jsp.el.ELException
        Throws:
        javax.servlet.jsp.el.ELException
      • parseExpressionString

        public java.lang.Object parseExpressionString​(java.lang.String pExpressionString)
                                               throws javax.servlet.jsp.el.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 class lumis.portal.el.commonsel.ExpressionEvaluatorImpl
        Throws:
        javax.servlet.jsp.el.ELException
      • evaluate

        public java.lang.Object evaluate​(java.lang.String expressionString,
                                         java.lang.Class expectedType,
                                         javax.servlet.jsp.el.VariableResolver resolver,
                                         javax.servlet.jsp.el.FunctionMapper functions)
                                  throws javax.servlet.jsp.el.ELException
        Description copied from class: lumis.portal.el.commonsel.ExpressionEvaluatorImpl
        Evaluates the given expression String
        Overrides:
        evaluate in class lumis.portal.el.commonsel.ExpressionEvaluatorImpl
        Parameters:
        expressionString - The expression to be evaluated.
        expectedType - The expected type of the result of the evaluation
        resolver - 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:
        javax.servlet.jsp.el.ELException