| Modifier and Type | Method and Description |
|---|---|
| public SpelNode | Returns: the child node cast to a SpelNodeHelper method that returns a SpelNode rather than an Antlr Tree node. |
| public int | |
| public int | Returns: the end positionReturn the end position of this AST node in the expression string. |
| public Class | Returns: the class of the object if it is not already a class object, ornull if the object is nullthe object that the caller wants the class of obj)Determine the class of the object passed in, unless it is already a class object. |
| public int | Returns: the start positionReturn the start position of this AST node in the expression string. |
| public TypedValue | Returns: the type value of this node evaluated against the specified statethe current expression state (includes the context) expressionState)Evaluate the expression node in the context of the supplied expression state and return the typed value. |
| public Object | Returns: the value of this node evaluated against the specified statethe current expression state (includes the context) expressionState)Evaluate the expression node in the context of the supplied expression state and return the value. |
| public boolean | Returns: true if the expression node will allow setValue()the current expression state (includes the context) expressionState)Determine if this expression node will support a setValue() call. |
| public void | setValue(ExpressionState
the current expression state (includes the context) expressionState, Object the new value newValue)Evaluate the expression to a node and then set the new value on that node. |
| public String |
| getChild | back to summary |
|---|---|
| public SpelNode getChild(int index) Helper method that returns a SpelNode rather than an Antlr Tree node.
| |
| getChildCount | back to summary |
|---|---|
| public int getChildCount() Return the number of children under this node.
| |
| getEndPosition | back to summary |
|---|---|
| public int getEndPosition() Return the end position of this AST node in the expression string.
| |
| getObjectClass | back to summary |
|---|---|
| public Class Determine the class of the object passed in, unless it is already a class object. | |
| getStartPosition | back to summary |
|---|---|
| public int getStartPosition() Return the start position of this AST node in the expression string.
| |
| getTypedValue | back to summary |
|---|---|
| public TypedValue getTypedValue(ExpressionState expressionState) throws EvaluationException Evaluate the expression node in the context of the supplied expression state and return the typed value.
| |
| getValue | back to summary |
|---|---|
| public Object getValue(ExpressionState expressionState) throws EvaluationException Evaluate the expression node in the context of the supplied expression state and return the value.
| |
| isWritable | back to summary |
|---|---|
| public boolean isWritable(ExpressionState expressionState) throws EvaluationException Determine if this expression node will support a setValue() call.
| |
| setValue | back to summary |
|---|---|
| public void setValue(ExpressionState expressionState, Object newValue) throws EvaluationException 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.
| |
| toStringAST | back to summary |
|---|---|
| public String toStringAST() Return the string form of this AST node.
| |