public abstract class PropertyAccessorFactory
extends java.lang.Object
PropertyAccessor
instances,
in particular for BeanWrapper
instances. Conceals the actual
target implementation classes and their extended public signature.Constructor and Description |
---|
PropertyAccessorFactory() |
Modifier and Type | Method and Description |
---|---|
static BeanWrapper |
forBeanPropertyAccess(java.lang.Object target)
Obtain a BeanWrapper for the given target object,
accessing properties in JavaBeans style.
|
static ConfigurablePropertyAccessor |
forDirectFieldAccess(java.lang.Object target)
Obtain a PropertyAccessor for the given target object,
accessing properties in direct field style.
|
public static BeanWrapper forBeanPropertyAccess(java.lang.Object target)
target
- the target object to wrapBeanWrapperImpl
public static ConfigurablePropertyAccessor forDirectFieldAccess(java.lang.Object target)
target
- the target object to wrapDirectFieldAccessor