public class OpPlus extends Operator
operatorName
children, 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, getOperatorName
getChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, getValueRef, isWritable, nextChildIs, setValue
public OpPlus(int pos, SpelNodeImpl... operands)
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal
in class SpelNodeImpl
EvaluationException
public java.lang.String toStringAST()
Operator
toStringAST
in interface SpelNode
toStringAST
in class Operator
public SpelNodeImpl getRightOperand()
getRightOperand
in class Operator
private static java.lang.String convertTypedValueToString(TypedValue value, ExpressionState state)
toString
method.value
- typed value to be convertedstate
- expression stateTypedValue
instance converted to String