public class CompoundExpression extends SpelNodeImpl
children, pos| Constructor and Description |
|---|
CompoundExpression(int pos,
SpelNodeImpl... expressionComponents) |
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
getValueInternal(ExpressionState state)
Evaluates a compound expression.
|
protected ValueRef |
getValueRef(ExpressionState state) |
boolean |
isWritable(ExpressionState state)
Determine if this expression node will support a setValue() call.
|
void |
setValue(ExpressionState state,
Object value)
Evaluate the expression to a node and then set the new value on that node.
|
String |
toStringAST() |
getChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, nextChildIspublic CompoundExpression(int pos,
SpelNodeImpl... expressionComponents)
protected ValueRef getValueRef(ExpressionState state) throws EvaluationException
getValueRef in class SpelNodeImplEvaluationExceptionpublic TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal in class SpelNodeImplstate - the state in which the expression is being evaluatedEvaluationExceptionpublic void setValue(ExpressionState state, Object value) throws EvaluationException
SpelNodesetValue in interface SpelNodesetValue in class SpelNodeImplstate - the current expression state (includes the context)value - the new valueEvaluationException - if any problem occurs evaluating the expression or setting the new valuepublic boolean isWritable(ExpressionState state) throws EvaluationException
SpelNodeisWritable in interface SpelNodeisWritable in class SpelNodeImplstate - the current expression state (includes the context)EvaluationException - if something went wrong trying to determine if the node supports writingpublic String toStringAST()
toStringAST in interface SpelNodetoStringAST in class SpelNodeImpl