|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.reflector.Introspector
| Field Summary | |
static int |
GET
|
static int |
SET
|
| Constructor Summary | |
Introspector()
|
|
| Method Summary | |
Method |
getAccessorMethod(String propName,
int type)
|
String |
getPropertiesValues()
Returns a String of "property: value" for all the properties. |
String |
getPropertyAsString(String propertyName)
|
Iterator |
getPropertyNames()
|
Object |
getPropertyValue(String propertyName)
|
Hashtable |
getPropValues()
Get the property value pairs as a Hashtable. |
boolean |
hasProperty(String propName)
|
void |
introspect(Object o,
String[] props)
|
void |
invokeSetMethod(String propertyName,
Object param)
|
boolean |
isPropertyBoolean(String propertyName)
Is the specified property boolean. |
boolean |
isPropertyStringable(String propertyName)
Is the specified property amenable to being turned into a String - i.e. |
boolean |
isReadOnly(String propertyName)
|
boolean |
isWriteOnly(String propertyName)
|
void |
printProperties()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int GET
public static final int SET
| Constructor Detail |
public Introspector()
| Method Detail |
public void introspect(Object o,
String[] props)
throws IntrospectionException
IntrospectionException
public Method getAccessorMethod(String propName,
int type)
public void printProperties()
public Iterator getPropertyNames()
public Object getPropertyValue(String propertyName)
throws InvocationTargetException,
IllegalAccessException
InvocationTargetException
IllegalAccessException
public boolean isPropertyStringable(String propertyName)
throws InvocationTargetException,
IllegalAccessException
InvocationTargetException
IllegalAccessException
public boolean isPropertyBoolean(String propertyName)
throws InvocationTargetException,
IllegalAccessException
InvocationTargetException
IllegalAccessException
public String getPropertyAsString(String propertyName)
throws InvocationTargetException,
IllegalAccessException
InvocationTargetException
IllegalAccessExceptionpublic boolean hasProperty(String propName)
public String getPropertiesValues()
throws InvocationTargetException,
IllegalAccessException
InvocationTargetException
IllegalAccessException
public Hashtable getPropValues()
throws InvocationTargetException,
IllegalAccessException
InvocationTargetException
IllegalAccessException
public void invokeSetMethod(String propertyName,
Object param)
throws InvocationTargetException,
IllegalAccessException
InvocationTargetException
IllegalAccessExceptionpublic boolean isReadOnly(String propertyName)
public boolean isWriteOnly(String propertyName)
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||