|
Groovy 1.7.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.runtime.wrappers.Wrapper
org.codehaus.groovy.runtime.wrappers.GroovyObjectWrapper
class GroovyObjectWrapper extends Wrapper
| Field Summary | |
|---|---|
protected GroovyObject |
wrapped
|
| Fields inherited from class Wrapper | |
|---|---|
| constrainedType, delegatingMetaClass |
| Constructor Summary | |
GroovyObjectWrapper(GroovyObject wrapped, Class constrainedType)
|
|
| Method Summary | |
|---|---|
protected MetaClass
|
getDelegatedMetaClass()
|
Object
|
getProperty(String property)
Note the rest of these method will only be used post 1.0 |
protected Object
|
getWrapped()
|
Object
|
invokeMethod(String name, Object args)
|
void
|
setMetaClass(MetaClass metaClass)
|
void
|
setProperty(String property, Object newValue)
|
Object
|
unwrap()
|
| Methods inherited from class Wrapper | |
|---|---|
| getDelegatedMetaClass, getMetaClass, getType, getWrapped, unwrap |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Field Detail |
|---|
protected final GroovyObject wrapped
| Constructor Detail |
|---|
public GroovyObjectWrapper(GroovyObject wrapped, Class constrainedType)
| Method Detail |
|---|
protected MetaClass getDelegatedMetaClass()
public Object getProperty(String property)
protected Object getWrapped()
public Object invokeMethod(String name, Object args)
public void setMetaClass(MetaClass metaClass)
public void setProperty(String property, Object newValue)
public Object unwrap()
Copyright © 2003-2009 The Codehaus. All rights reserved.