public class BeanInfoUtil extends Object
| Constructor and Description |
|---|
BeanInfoUtil() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected static Object getNestedTarget(BeanInfo beanInfo, Object target, String[] propertys) throws Throwable
beanInfo - the bean infotarget - the targetpropertys - the property namesThrowable - for any errorprotected static PropertyInfo getNestedPropertyInfo(BeanInfo beanInfo, Object target, String[] propertys) throws Throwable
beanInfo - the bean infotarget - the targetpropertys - the property namesThrowable - for any errorpublic static Object get(BeanInfo beanInfo, Object target, String name) throws Throwable
beanInfo - the bean infotarget - the targetname - the property name, can be nestedThrowable - for any errorpublic 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 valueThrowable - for any errorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.