Search in sources :

Example 11 with EvaluationContext

use of org.apache.el.lang.EvaluationContext in project tomcat by apache.

the class ValueExpressionImpl method getValueReference.

/**
 * @since EL 2.2
 */
@Override
public ValueReference getValueReference(ELContext context) {
    EvaluationContext ctx = new EvaluationContext(context, this.fnMapper, this.varMapper);
    context.notifyBeforeEvaluation(getExpressionString());
    ValueReference result = this.getNode().getValueReference(ctx);
    context.notifyAfterEvaluation(getExpressionString());
    return result;
}
Also used : EvaluationContext(org.apache.el.lang.EvaluationContext) ValueReference(jakarta.el.ValueReference)

Aggregations

EvaluationContext (org.apache.el.lang.EvaluationContext)11 Node (org.apache.el.parser.Node)2 MethodInfo (jakarta.el.MethodInfo)1 MethodReference (jakarta.el.MethodReference)1 ValueReference (jakarta.el.ValueReference)1