| java.lang.Object groovy.lang.GroovyObjectSupport groovy.lang.Binding
All known Subclasses: groovy.servlet.ServletBinding,
Binding | public class Binding extends GroovyObjectSupport (Code) | | Represents the variable bindings of a script which can be altered
from outside the script object or created outside of a script and passed
into it.
author: James Strachan version: $Revision: 1590 $ |
Binding | public Binding(String[] args)(Code) | | A helper constructor used in main(String[]) method calls
Parameters: args - are the command line arguments from a main() |
getProperty | public Object getProperty(String property)(Code) | | Overloaded to make variables appear as bean properties or via the subscript operator
|
getVariable | public Object getVariable(String name)(Code) | | Parameters: name - the name of the variable to lookup the variable value |
setProperty | public void setProperty(String property, Object newValue)(Code) | | Overloaded to make variables appear as bean properties or via the subscript operator
|
setVariable | public void setVariable(String name, Object value)(Code) | | Sets the value of the given variable
Parameters: name - the name of the variable to set Parameters: value - the new value for the given variable |
|
|