类 CompiledExpression
- java.lang.Object
- org.springframework.expression.spel.CompiledExpression
public abstract class CompiledExpression extends Object
Base superclass for compiled expressions. Each generated compiled expression class will extend this class and implement thegetValue(java.lang.Object, org.springframework.expression.EvaluationContext)method. It is not intended to be subclassed by user code.- 从以下版本开始:
- 4.1
- 作者:
- Andy Clement
构造器概要
构造器 构造器 说明 CompiledExpression()
构造器详细资料
CompiledExpression
public CompiledExpression()
方法详细资料
getValue
public abstract Object getValue(@Nullable Object target, @Nullable EvaluationContext context) throws EvaluationException
Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.