public static interface Proxy.Properties
Modifier and Type | Method | Description |
---|---|---|
Convertible |
getAt(String key) |
Provides map-like access to properties.
|
Set<String> |
keySet() |
returns the names of all attributes.
|
Convertible |
putAt(String key,
Object value) |
Allows to set and to change properties.
|
Convertible getAt(String key)
Convertible
, not a String as in the basic storage. Nevertheless it behaves like a String in almost
all respects, that is, in Groovy scripts it understands all String methods like lenght(), matches() etc.
Convertible putAt(String key, Object value)
value
- An object for conversion to String. Works well for all types that Convertible
handles, particularly Convertible
s itself. Use null to unset an attribute.