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)
PropertyAccessor
Get the property descriptor for the named property and class.
getPropertyDescriptor
in interface PropertyAccessor
null
if there is none for the passed property name.public Object getProperty(Object bean, String property)
PropertyAccessor
Get a bean property’s value (the result of invoking the read method).
getProperty
in interface PropertyAccessor
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.