|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.grails.plugin.platform.util.PropertyNamespacer
class PropertyNamespacer
Provides read/write access to a Map, automatically namespacing all keys to provide a safe scoped access to an existing Map-like object
Field Summary | |
---|---|
private java.lang.Object |
delegateMapLikeObject
|
private java.lang.String |
keyPrefix
|
private java.lang.String |
keySetMethodName
|
Constructor Summary | |
PropertyNamespacer(java.lang.String keyPrefix, java.lang.Object delegateMapLikeObject, java.lang.String keySetMethodName)
|
Method Summary | |
---|---|
java.lang.Object
|
get(java.lang.Object key)
|
java.util.Set
|
keySet()
|
java.lang.Object
|
propertyMissing(java.lang.String name, java.lang.Object value)
|
java.lang.Object
|
propertyMissing(java.lang.String name)
|
java.lang.Object
|
put(java.lang.Object key, java.lang.Object value)
|
java.util.Map
|
toMap()
|
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
private java.lang.Object delegateMapLikeObject
private java.lang.String keyPrefix
private java.lang.String keySetMethodName
Constructor Detail |
---|
PropertyNamespacer(java.lang.String keyPrefix, java.lang.Object delegateMapLikeObject, java.lang.String keySetMethodName)
Method Detail |
---|
java.lang.Object get(java.lang.Object key)
java.util.Set keySet()
java.lang.Object propertyMissing(java.lang.String name, java.lang.Object value)
java.lang.Object propertyMissing(java.lang.String name)
java.lang.Object put(java.lang.Object key, java.lang.Object value)
java.util.Map toMap()
java.lang.String toString()
Groovy Documentation