public class ReflectionWrapper extends java.lang.Object implements SettableStructure
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.Class[] |
emptyCA |
(package private) static java.lang.Object[] |
emptyOA |
(package private) java.lang.String |
fullClassname |
(package private) java.lang.Class<?> |
m_cls |
(package private) java.lang.Object |
target |
Constructor and Description |
---|
ReflectionWrapper(java.lang.String pkg,
java.lang.String cnm) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String s) |
java.lang.Object |
getByGetter(java.lang.String s) |
java.lang.Object |
getDirectly(java.lang.String s) |
java.lang.Object |
getStatic(java.lang.String s) |
java.lang.Object |
getTarget() |
java.lang.String |
getTypeName() |
boolean |
isOK() |
void |
set(java.lang.String s,
java.lang.Object val) |
void |
setBySetter(java.lang.String s,
java.lang.Object val) |
void |
setContext(java.lang.String s,
java.lang.Object val) |
java.lang.Object target
java.lang.String fullClassname
java.lang.Class<?> m_cls
static java.lang.Class[] emptyCA
static java.lang.Object[] emptyOA
public ReflectionWrapper(java.lang.String pkg, java.lang.String cnm)
public boolean isOK()
public java.lang.Object getTarget()
public java.lang.String getTypeName()
getTypeName
in interface Structure
public java.lang.Object getStatic(java.lang.String s)
public java.lang.Object getDirectly(java.lang.String s)
public java.lang.Object getByGetter(java.lang.String s)
public void set(java.lang.String s, java.lang.Object val)
set
in interface SettableStructure
public void setContext(java.lang.String s, java.lang.Object val)
setContext
in interface SettableStructure
public void setBySetter(java.lang.String s, java.lang.Object val)
Copyright © 2013. All Rights Reserved.