|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.beans.info.plugins.BeanInfoUtil
public class BeanInfoUtil
Bean info helper. Handles nested property names.
| Constructor Summary | |
|---|---|
BeanInfoUtil()
|
|
| Method Summary | |
|---|---|
static Object |
get(BeanInfo beanInfo,
Object target,
String name)
Get the value from target. |
protected static PropertyInfo |
getNestedPropertyInfo(BeanInfo beanInfo,
Object target,
String[] propertys)
Get the nested property info from target. |
protected static Object |
getNestedTarget(BeanInfo beanInfo,
Object target,
String[] propertys)
Get the value from target. |
static PropertyInfo |
getPropertyInfo(BeanInfo beanInfo,
Object target,
String name)
Get nested property info. |
static void |
set(BeanInfo beanInfo,
Object target,
String name,
Object value)
Set the value on target. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanInfoUtil()
| Method Detail |
|---|
protected static Object getNestedTarget(BeanInfo beanInfo,
Object target,
String[] propertys)
throws Throwable
beanInfo - the bean infotarget - the targetpropertys - the property names
Throwable - for any error
protected static PropertyInfo getNestedPropertyInfo(BeanInfo beanInfo,
Object target,
String[] propertys)
throws Throwable
beanInfo - the bean infotarget - the targetpropertys - the property names
Throwable - for any error
public static Object get(BeanInfo beanInfo,
Object target,
String name)
throws Throwable
beanInfo - the bean infotarget - the targetname - the property name, can be nested
Throwable - for any error
public static void set(BeanInfo beanInfo,
Object target,
String name,
Object value)
throws Throwable
beanInfo - the bean infotarget - the targetname - the property name, can be nestedvalue - the value
Throwable - for any error
public static PropertyInfo getPropertyInfo(BeanInfo beanInfo,
Object target,
String name)
throws Throwable
beanInfo - the bean infotarget - the targetname - the nested property name
Throwable - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||