public class TemplateVariableBinding extends AbstractTemplateVariableBinding
Script Binding that is used in GSP evaluation.
Constructor and description |
---|
TemplateVariableBinding
() |
TemplateVariableBinding
(groovy.lang.Binding parent) |
TemplateVariableBinding
(java.util.Map variables) |
TemplateVariableBinding
(java.lang.String[] args) |
Type Params | Return Type | Name and description |
---|---|---|
|
public groovy.lang.Binding |
findBindingForVariable(java.lang.String name) ModifyOurScopeWithBodyTagTests breaks if variable isn't changed in the binding it exists in. |
|
public java.lang.Object |
getOwner() |
|
public groovy.lang.Binding |
getParent() |
|
public java.lang.Object |
getProperty(java.lang.String property) |
|
public java.lang.Object |
getVariable(java.lang.String name) |
|
public java.util.Set<java.lang.String> |
getVariableNames() |
|
public boolean |
hasVariable(java.lang.String name) |
|
protected void |
internalSetVariable(java.lang.String name, java.lang.Object value) |
|
protected boolean |
isReservedName(java.lang.String name) |
|
public boolean |
isRoot() |
|
public void |
setOwner(java.lang.Object owner) |
|
public void |
setParent(groovy.lang.Binding parent) |
|
public void |
setProperty(java.lang.String property, java.lang.Object newValue) |
|
public void |
setRoot(boolean root) |
|
public void |
setVariable(java.lang.String name, java.lang.Object value) |
|
protected boolean |
shouldUseChildBinding(TemplateVariableBinding childBinding) |
Methods inherited from class | Name |
---|---|
class AbstractTemplateVariableBinding |
addMap, findBindingForVariable, getVariableNames, getVariables, getVariablesMap, internalSetVariable, isVariableCachingAllowed, setVariableDirectly |
ModifyOurScopeWithBodyTagTests breaks if variable isn't changed in the binding it exists in.
name
- The name of the variable