com.caucho.jsp.el
Class ExpressionEvaluatorImpl

java.lang.Object
  extended by javax.servlet.jsp.el.ExpressionEvaluator
      extended by com.caucho.jsp.el.ExpressionEvaluatorImpl

public class ExpressionEvaluatorImpl
extends ExpressionEvaluator

Implementation of the expression evaluator.


Nested Class Summary
 class ExpressionEvaluatorImpl.FunctionMapperAdapter
           
 class ExpressionEvaluatorImpl.ParseELContext
           
 
Constructor Summary
ExpressionEvaluatorImpl(ELContext elContext)
          Creates the expression evaluator.
 
Method Summary
 java.lang.Object evaluate(java.lang.String expression, java.lang.Class expectedType, VariableResolver resolver, FunctionMapper funMapper)
          Evaluates an expression.
 Expression parseExpression(java.lang.String expression, java.lang.Class expectedType, FunctionMapper funMapper)
          Parses an expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEvaluatorImpl

public ExpressionEvaluatorImpl(ELContext elContext)
Creates the expression evaluator.

Method Detail

evaluate

public java.lang.Object evaluate(java.lang.String expression,
                                 java.lang.Class expectedType,
                                 VariableResolver resolver,
                                 FunctionMapper funMapper)
                          throws ELException
Evaluates an expression.

Specified by:
evaluate in class ExpressionEvaluator
Throws:
ELException

parseExpression

public Expression parseExpression(java.lang.String expression,
                                  java.lang.Class expectedType,
                                  FunctionMapper funMapper)
                           throws ELException
Parses an expression.

Specified by:
parseExpression in class ExpressionEvaluator
Throws:
ELException