open class LiteralExpression : Expression
A very simple hardcoded implementation of the Expression interface that represents a string literal. It is used with CompositeStringExpression when representing a template expression which is made up of pieces - some being real expressions to be handled by an EL implementation like SpEL, and some being just textual elements.
Author
Andy Clement
Author
Juergen Hoeller
Since
3.0
LiteralExpression(literalValue: String) |
fun getExpressionString(): String |
|
open fun getValue(): Stringopen fun <T : Any> getValue(expectedResultType: Class<T>): Topen fun getValue(rootObject: Any): Stringopen fun <T : Any> getValue(rootObject: Any, desiredResultType: Class<T>): Topen fun getValue(context: EvaluationContext): Stringopen fun <T : Any> getValue(context: EvaluationContext, expectedResultType: Class<T>): Topen fun getValue(context: EvaluationContext, rootObject: Any): Stringopen fun <T : Any> getValue(context: EvaluationContext, rootObject: Any, desiredResultType: Class<T>): T |
|
open fun getValueType(context: EvaluationContext): Class<*>open fun getValueType(): Class<*>open fun getValueType(rootObject: Any): Class<*>open fun getValueType(context: EvaluationContext, rootObject: Any): Class<*> |
|
open fun getValueTypeDescriptor(): TypeDescriptoropen fun getValueTypeDescriptor(rootObject: Any): TypeDescriptoropen fun getValueTypeDescriptor(context: EvaluationContext): TypeDescriptoropen fun getValueTypeDescriptor(context: EvaluationContext, rootObject: Any): TypeDescriptor |
|
open fun isWritable(rootObject: Any): Booleanopen fun isWritable(context: EvaluationContext): Booleanopen fun isWritable(context: EvaluationContext, rootObject: Any): Boolean |
|
open fun setValue(rootObject: Any, value: Any): Unitopen fun setValue(context: EvaluationContext, value: Any): Unitopen fun setValue(context: EvaluationContext, rootObject: Any, value: Any): Unit |