open class CompositeStringExpression : Expression
Represents a template expression broken into pieces. Each piece will be an Expression but pure text parts to the template will be represented as LiteralExpression objects. An example of a template expression might be:
"Hello ${getName()}" which will be represented as a CompositeStringExpression of two parts. The first part being a LiteralExpression representing 'Hello ' and the second part being a real expression that will call getName() when invoked.
Author
Andy Clement
Author
Juergen Hoeller
Since
3.0
CompositeStringExpression(expressionString: String, expressions: Array<Expression>) |
fun getExpressionString(): String |
|
fun getExpressions(): Array<Expression> |
|
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(): Class<*>open fun getValueType(context: EvaluationContext): 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 |