public class Indexer extends SpelNodeImpl
children, pos| Constructor and Description |
|---|
Indexer(int pos,
SpelNodeImpl expr) |
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
getValueInternal(ExpressionState state) |
protected ValueRef |
getValueRef(ExpressionState state) |
boolean |
isWritable(ExpressionState expressionState)
Determine if this expression node will support a setValue() call.
|
void |
setValue(ExpressionState state,
java.lang.Object newValue)
Evaluate the expression to a node and then set the new value on that node.
|
java.lang.String |
toStringAST() |
getChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, nextChildIspublic Indexer(int pos,
SpelNodeImpl expr)
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal in class SpelNodeImplEvaluationExceptionpublic void setValue(ExpressionState state, java.lang.Object newValue) throws EvaluationException
SpelNodesetValue in interface SpelNodesetValue in class SpelNodeImplstate - the current expression state (includes the context)newValue - the new valueEvaluationException - if any problem occurs evaluating the expression or
setting the new valuepublic boolean isWritable(ExpressionState expressionState) throws SpelEvaluationException
SpelNodeisWritable in interface SpelNodeisWritable in class SpelNodeImplexpressionState - the current expression state (includes the context)SpelEvaluationExceptionprotected ValueRef getValueRef(ExpressionState state) throws EvaluationException
getValueRef in class SpelNodeImplEvaluationExceptionpublic java.lang.String toStringAST()