|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.expression.ExpressionVariable
public class ExpressionVariable
An expression variable.
| Constructor Summary | |
|---|---|
ExpressionVariable(String name,
String valueExpression)
Creates a new expression variable. |
|
ExpressionVariable(String name,
String valueExpression,
ParserContext parserContext)
Creates a new expression variable with a populated parser context. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getName()
Returns the variable name. |
ParserContext |
getParserContext()
Returns the parser context to use to parse the variable's value expression. |
String |
getValueExpression()
Returns the expression that will be evaluated when the variable is referenced by its name in another expression. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExpressionVariable(String name,
String valueExpression)
name - the name of the variable, acting as an convenient alias (required)valueExpression - the value expression (required)
public ExpressionVariable(String name,
String valueExpression,
ParserContext parserContext)
name - the name of the variable, acting as an convenient alias (required)valueExpression - the value expression (required)parserContext - the parser context to use to parse the value expression (optional)| Method Detail |
|---|
public String getName()
public String getValueExpression()
public ParserContext getParserContext()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||