public class FastPropertyAccessor extends Object implements PropertyAccessor
Access a bean property by name. Optimized for repeated, successive access to properties of the same bean class.
| Constructor and Description |
|---|
FastPropertyAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(Object bean,
String property)
Get a bean property’s value (the result of invoking the read method).
|
PropertyDescriptor |
getPropertyDescriptor(Class cls,
String property)
Get the property descriptor for the named property and class.
|
public PropertyDescriptor getPropertyDescriptor(Class cls, String property)
PropertyAccessorGet the property descriptor for the named property and class.
getPropertyDescriptor in interface PropertyAccessornull if there is none for the passed property name.public Object getProperty(Object bean, String property)
PropertyAccessorGet a bean property’s value (the result of invoking the read method).
getProperty in interface PropertyAccessorCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.