org.springframework.expression.spel
Class ExpressionState.VariableScope
java.lang.Object
org.springframework.expression.spel.ExpressionState.VariableScope
- Enclosing class:
- ExpressionState
private static class ExpressionState.VariableScope
- extends java.lang.Object
A new scope is entered when a function is called and it is used to hold the parameters to the function call. If the names
of the parameters clash with those in a higher level scope, those in the higher level scope will not be accessible whilst
the function is executing. When the function returns the scope is exited.
Field Summary |
private java.util.Map<java.lang.String,java.lang.Object> |
vars
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vars
private final java.util.Map<java.lang.String,java.lang.Object> vars
ExpressionState.VariableScope
public ExpressionState.VariableScope()
ExpressionState.VariableScope
public ExpressionState.VariableScope(java.util.Map<java.lang.String,java.lang.Object> arguments)
ExpressionState.VariableScope
public ExpressionState.VariableScope(java.lang.String name,
java.lang.Object value)
lookupVariable
public java.lang.Object lookupVariable(java.lang.String name)
setVariable
public void setVariable(java.lang.String name,
java.lang.Object value)
definesVariable
public boolean definesVariable(java.lang.String name)