Class ValueExpression<V>
java.lang.Object
org.springframework.integration.expression.ValueExpression<V>
- Type Parameters:
- V- - The expected value type.
- All Implemented Interfaces:
- Expression
A very simple hardcoded implementation of the 
Expression interface that represents an
 immutable value. It is used as value holder in the context of expression evaluation.- Since:
- 4.0
- Author:
- Artem Bilan, Gary Russell
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetValue()<T> T<T> TgetValue(EvaluationContext context) <T> TgetValue(EvaluationContext context, Class<T> desiredResultType) getValue(EvaluationContext context, Object rootObject) <T> TgetValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) getValueType(Object rootObject) getValueType(EvaluationContext context) getValueType(EvaluationContext context, Object rootObject) getValueTypeDescriptor(Object rootObject) getValueTypeDescriptor(EvaluationContext context) getValueTypeDescriptor(EvaluationContext context, Object rootObject) booleanisWritable(Object rootObject) booleanisWritable(EvaluationContext context) booleanisWritable(EvaluationContext context, Object rootObject) voidvoidsetValue(EvaluationContext context, Object value) voidsetValue(EvaluationContext context, Object rootObject, Object value) toString()
- 
Constructor Details- 
ValueExpression
 
- 
- 
Method Details- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValuepublic <T> T getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) throws EvaluationException - Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValuepublic <T> T getValue(EvaluationContext context, Class<T> desiredResultType) throws EvaluationException - Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueType- Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueType- Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueType- Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypepublic Class<V> getValueType(EvaluationContext context, Object rootObject) throws EvaluationException - Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptor- Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptor- Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptor- Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptorpublic TypeDescriptor getValueTypeDescriptor(EvaluationContext context, Object rootObject) throws EvaluationException - Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
isWritable- Specified by:
- isWritablein interface- Expression
- Throws:
- EvaluationException
 
- 
isWritable- Specified by:
- isWritablein interface- Expression
- Throws:
- EvaluationException
 
- 
isWritable- Specified by:
- isWritablein interface- Expression
- Throws:
- EvaluationException
 
- 
setValue- Specified by:
- setValuein interface- Expression
- Throws:
- EvaluationException
 
- 
setValue- Specified by:
- setValuein interface- Expression
- Throws:
- EvaluationException
 
- 
setValuepublic void setValue(EvaluationContext context, Object rootObject, Object value) throws EvaluationException - Specified by:
- setValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getExpressionString- Specified by:
- getExpressionStringin interface- Expression
 
- 
toString
 
-