public class OpPlus extends Operator
operatorNamechildren, pos| Constructor and Description |
|---|
OpPlus(int pos,
SpelNodeImpl... operands) |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
convertTypedValueToString(TypedValue value,
ExpressionState state)
Convert operand value to string using registered converter or using
toString method. |
SpelNodeImpl |
getRightOperand() |
TypedValue |
getValueInternal(ExpressionState state) |
java.lang.String |
toStringAST()
String format for all operators is the same '(' [operand] [operator] [operand] ')'
|
getLeftOperand, getOperatorNamegetChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, getValueRef, isWritable, nextChildIs, setValuepublic OpPlus(int pos,
SpelNodeImpl... operands)
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal in class SpelNodeImplEvaluationExceptionpublic java.lang.String toStringAST()
OperatortoStringAST in interface SpelNodetoStringAST in class Operatorpublic SpelNodeImpl getRightOperand()
getRightOperand in class Operatorprivate static java.lang.String convertTypedValueToString(TypedValue value, ExpressionState state)
toString method.value - typed value to be convertedstate - expression stateTypedValue instance converted to String