Top Description Fields Constructors Methods
org.springframework.expression.spel.ast

public Class Assign

extends SpelNodeImpl
Class Inheritance
Imports
org.springframework.expression.EvaluationException, .TypedValue, org.springframework.expression.spel.ExpressionState

Represents assignment. An alternative to calling setValue for an expression which indicates an assign statement.

Example: 'someNumberProperty=42'

Authors
Andy Clement, Sam Brannen
Since
3.0

Field Summary

Inherited from org.springframework.expression.spel.ast.SpelNodeImpl:
childrenexitTypeDescriptor

Constructor Summary

AccessConstructor and Description
public
Assign(int startPos, int endPos, SpelNodeImpl... operands)

Method Summary

Modifier and TypeMethod and Description
public TypedValue
public String
toStringAST()

Implements org.springframework.expression.spel.SpelNode.toStringAST.

Return the string form of this AST node.

Inherited from org.springframework.expression.spel.ast.SpelNodeImpl:
generateCodegenerateCodeForArgumentgenerateCodeForArgumentsgetChildgetChildCountgetEndPositiongetExitDescriptorgetObjectClassgetStartPositiongetTypedValuegetValuegetValuegetValueRefisCompilableisWritablenextChildIssetValuesetValueInternal

Constructor Detail

Assignback to summary
public Assign(int startPos, int endPos, SpelNodeImpl... operands)

Method Detail

getValueInternalback to summary
public TypedValue getValueInternal(ExpressionState state) throws EvaluationException

Implements abstract org.springframework.expression.spel.ast.SpelNodeImpl.getValueInternal.

Annotations
@Override
toStringASTback to summary
public String toStringAST()

Implements org.springframework.expression.spel.SpelNode.toStringAST.

Doc from org.springframework.expression.spel.SpelNode.toStringAST.

Return the string form of this AST node.

Returns:String

the string form

Annotations
@Override