V - - The expected value type.public class ValueExpression<V> extends Object implements Expression
Expression interface that represents an
immutable value. It is used as value holder in the context of expression evaluation.| Constructor and Description |
|---|
ValueExpression(V value) |
public ValueExpression(V value)
public V getValue() throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic V getValue(Object rootObject) throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic V getValue(EvaluationContext context) throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic V getValue(EvaluationContext context, Object rootObject) throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic <T> T getValue(Object rootObject, Class<T> desiredResultType) throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic <T> T getValue(Class<T> desiredResultType) throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic <T> T getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic <T> T getValue(EvaluationContext context, Class<T> desiredResultType) throws EvaluationException
getValue in interface ExpressionEvaluationExceptionpublic Class<V> getValueType() throws EvaluationException
getValueType in interface ExpressionEvaluationExceptionpublic Class<V> getValueType(Object rootObject) throws EvaluationException
getValueType in interface ExpressionEvaluationExceptionpublic Class<V> getValueType(EvaluationContext context) throws EvaluationException
getValueType in interface ExpressionEvaluationExceptionpublic Class<V> getValueType(EvaluationContext context, Object rootObject) throws EvaluationException
getValueType in interface ExpressionEvaluationExceptionpublic TypeDescriptor getValueTypeDescriptor() throws EvaluationException
getValueTypeDescriptor in interface ExpressionEvaluationExceptionpublic TypeDescriptor getValueTypeDescriptor(Object rootObject) throws EvaluationException
getValueTypeDescriptor in interface ExpressionEvaluationExceptionpublic TypeDescriptor getValueTypeDescriptor(EvaluationContext context) throws EvaluationException
getValueTypeDescriptor in interface ExpressionEvaluationExceptionpublic TypeDescriptor getValueTypeDescriptor(EvaluationContext context, Object rootObject) throws EvaluationException
getValueTypeDescriptor in interface ExpressionEvaluationExceptionpublic boolean isWritable(EvaluationContext context) throws EvaluationException
isWritable in interface ExpressionEvaluationExceptionpublic boolean isWritable(EvaluationContext context, Object rootObject) throws EvaluationException
isWritable in interface ExpressionEvaluationExceptionpublic boolean isWritable(Object rootObject) throws EvaluationException
isWritable in interface ExpressionEvaluationExceptionpublic void setValue(EvaluationContext context, Object value) throws EvaluationException
setValue in interface ExpressionEvaluationExceptionpublic void setValue(Object rootObject, Object value) throws EvaluationException
setValue in interface ExpressionEvaluationExceptionpublic void setValue(EvaluationContext context, Object rootObject, Object value) throws EvaluationException
setValue in interface ExpressionEvaluationExceptionpublic String getExpressionString()
getExpressionString in interface Expression