public class DynamicExpression extends Object implements Expression
Expression
that delegates to an ExpressionSource
for resolving the actual Expression instance per-invocation at runtime.Constructor and Description |
---|
DynamicExpression(String key,
ExpressionSource expressionSource) |
public DynamicExpression(String key, ExpressionSource expressionSource)
public Object getValue() throws EvaluationException
getValue
in interface Expression
EvaluationException
public Object getValue(Object rootObject) throws EvaluationException
getValue
in interface Expression
EvaluationException
public <T> T getValue(Class<T> desiredResultType) throws EvaluationException
getValue
in interface Expression
EvaluationException
public <T> T getValue(Object rootObject, Class<T> desiredResultType) throws EvaluationException
getValue
in interface Expression
EvaluationException
public Object getValue(EvaluationContext context) throws EvaluationException
getValue
in interface Expression
EvaluationException
public Object getValue(EvaluationContext context, Object rootObject) throws EvaluationException
getValue
in interface Expression
EvaluationException
public <T> T getValue(EvaluationContext context, Class<T> desiredResultType) throws EvaluationException
getValue
in interface Expression
EvaluationException
public <T> T getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) throws EvaluationException
getValue
in interface Expression
EvaluationException
public Class<?> getValueType() throws EvaluationException
getValueType
in interface Expression
EvaluationException
public Class<?> getValueType(Object rootObject) throws EvaluationException
getValueType
in interface Expression
EvaluationException
public Class<?> getValueType(EvaluationContext context) throws EvaluationException
getValueType
in interface Expression
EvaluationException
public Class<?> getValueType(EvaluationContext context, Object rootObject) throws EvaluationException
getValueType
in interface Expression
EvaluationException
public TypeDescriptor getValueTypeDescriptor() throws EvaluationException
getValueTypeDescriptor
in interface Expression
EvaluationException
public TypeDescriptor getValueTypeDescriptor(Object rootObject) throws EvaluationException
getValueTypeDescriptor
in interface Expression
EvaluationException
public TypeDescriptor getValueTypeDescriptor(EvaluationContext context) throws EvaluationException
getValueTypeDescriptor
in interface Expression
EvaluationException
public TypeDescriptor getValueTypeDescriptor(EvaluationContext context, Object rootObject) throws EvaluationException
getValueTypeDescriptor
in interface Expression
EvaluationException
public boolean isWritable(EvaluationContext context) throws EvaluationException
isWritable
in interface Expression
EvaluationException
public boolean isWritable(EvaluationContext context, Object rootObject) throws EvaluationException
isWritable
in interface Expression
EvaluationException
public boolean isWritable(Object rootObject) throws EvaluationException
isWritable
in interface Expression
EvaluationException
public void setValue(EvaluationContext context, Object value) throws EvaluationException
setValue
in interface Expression
EvaluationException
public void setValue(Object rootObject, Object value) throws EvaluationException
setValue
in interface Expression
EvaluationException
public void setValue(EvaluationContext context, Object rootObject, Object value) throws EvaluationException
setValue
in interface Expression
EvaluationException
public String getExpressionString()
getExpressionString
in interface Expression