org.springframework.expression.spel.ast
Class OperatorPlus

java.lang.Object
  extended by org.antlr.runtime.tree.BaseTree
      extended by org.antlr.runtime.tree.CommonTree
          extended by org.springframework.expression.spel.ast.SpelNodeImpl
              extended by org.springframework.expression.spel.ast.Operator
                  extended by org.springframework.expression.spel.ast.OperatorPlus
All Implemented Interfaces:
java.io.Serializable, org.antlr.runtime.tree.Tree, SpelNode

public class OperatorPlus
extends Operator

Since:
3.0
Author:
Andy Clement
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.antlr.runtime.tree.CommonTree
startIndex, stopIndex, token
 
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
 
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
 
Constructor Summary
OperatorPlus(org.antlr.runtime.Token payload)
           
 
Method Summary
 java.lang.String getOperatorName()
           
 java.lang.Object getValueInternal(ExpressionState state)
           
 java.lang.String toStringAST()
          String format for all operators is the same '(' [operand] [operator] [operand] ')'
 
Methods inherited from class org.springframework.expression.spel.ast.Operator
getLeftOperand, getRightOperand, isWritable
 
Methods inherited from class org.springframework.expression.spel.ast.SpelNodeImpl
getChild, getObjectClass, getStartPosition, getTokenName, getValue, getValue, setValue
 
Methods inherited from class org.antlr.runtime.tree.CommonTree
dupNode, getCharPositionInLine, getLine, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setTokenStartIndex, setTokenStopIndex, toString
 
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, dupTree, getChildCount, getFirstChildWithType, setChild, toStringTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.expression.spel.SpelNode
getChildCount
 

Constructor Detail

OperatorPlus

public OperatorPlus(org.antlr.runtime.Token payload)
Method Detail

getValueInternal

public java.lang.Object getValueInternal(ExpressionState state)
                                  throws EvaluationException
Specified by:
getValueInternal in class SpelNodeImpl
Throws:
EvaluationException

getOperatorName

public java.lang.String getOperatorName()
Specified by:
getOperatorName in class Operator

toStringAST

public java.lang.String toStringAST()
Description copied from class: Operator
String format for all operators is the same '(' [operand] [operator] [operand] ')'

Specified by:
toStringAST in interface SpelNode
Overrides:
toStringAST in class Operator
Returns:
the string form of this AST node