public abstract class PropertyAccessorFactory extends Object
PropertyAccessor instances,
in particular for BeanWrapper instances. Conceals the actual
target implementation classes and their extended public signature.| 构造器和说明 |
|---|
PropertyAccessorFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
static BeanWrapper |
forBeanPropertyAccess(Object target)
Obtain a BeanWrapper for the given target object,
accessing properties in JavaBeans style.
|
static ConfigurablePropertyAccessor |
forDirectFieldAccess(Object target)
Obtain a PropertyAccessor for the given target object,
accessing properties in direct field style.
|
public static BeanWrapper forBeanPropertyAccess(Object target)
target - the target object to wrapBeanWrapperImplpublic static ConfigurablePropertyAccessor forDirectFieldAccess(Object target)
target - the target object to wrapDirectFieldAccessor