public class DataBindingPropertyAccessor extends ReflectivePropertyAccessor
PropertyAccessorvariant for data binding purposes, using reflection to access properties for reading and possibly writing.
A property can be referenced through a public getter method (when being read) or a public setter method (when being written), and also as a public field.
This accessor is explicitly designed for user-declared properties and does not
resolve technical properties on
For unrestricted resolution, choose
|Modifier and Type||Method and Description|
Create a new data-binding property accessor for read-only operations.
Create a new data-binding property accessor for read-write operations.
Determine whether the given
canRead, canWrite, createOptimalAccessor, findField, findGetterForProperty, findSetterForProperty, getLastReadInvokerPair, getPropertyMethodSuffix, getPropertyMethodSuffixes, getSpecificTargetClasses, read, write
Methodis a candidate for property access on an instance of the given target class.
The default implementation considers any method as a candidate, even for
non-user-declared properties on the
Object base class.
public static DataBindingPropertyAccessor forReadOnlyAccess()
public static DataBindingPropertyAccessor forReadWriteAccess()