org.springframework.expression.spel.SpelNode |
Known Indirect Subclasses |
Represents a node in the Ast for a parsed expression.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Helper method that returns a SpelNode rather than an Antlr Tree node.
| |||||||||||
Determine the class of the object passed in, unless it is already a class object.
| |||||||||||
Evaluate the expression node in the context of the supplied expression state and return the typed value.
| |||||||||||
Evaluate the expression node in the context of the supplied expression state and return the value.
| |||||||||||
Determine if this expression node will support a setValue() call.
| |||||||||||
Evaluate the expression to a node and then set the new value on that node.
| |||||||||||
Helper method that returns a SpelNode rather than an Antlr Tree node.
Determine the class of the object passed in, unless it is already a class object.
Evaluate the expression node in the context of the supplied expression state and return the typed value.
expressionState | the current expression state (includes the context) |
---|
EvaluationException |
---|
Evaluate the expression node in the context of the supplied expression state and return the value.
expressionState | the current expression state (includes the context) |
---|
EvaluationException |
---|
Determine if this expression node will support a setValue() call.
expressionState | the current expression state (includes the context) |
---|
EvaluationException | if something went wrong trying to determine if the node supports writing |
---|
Evaluate the expression to a node and then set the new value on that node. For example, if the expression evaluates to a property reference then the property will be set to the new value.
expressionState | the current expression state (includes the context) |
---|---|
newValue | the new value |
EvaluationException | if any problem occurs evaluating the expression or setting the new value |
---|