com.jgoodies.binding.beans
Class PropertyAccessors.IntrospectionPropertyAccessorProvider
java.lang.Object
com.jgoodies.binding.beans.PropertyAccessors.IntrospectionPropertyAccessorProvider
- All Implemented Interfaces:
- PropertyAccessors.PropertyAccessorProvider
- Enclosing class:
- PropertyAccessors
public static class PropertyAccessors.IntrospectionPropertyAccessorProvider
- extends Object
- implements PropertyAccessors.PropertyAccessorProvider
Uses the standard Bean Introspection to look up PropertyDescriptors
that in turn are used to build and return PropertyAccessors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyAccessors.IntrospectionPropertyAccessorProvider
public PropertyAccessors.IntrospectionPropertyAccessorProvider()
getAccessor
public PropertyAccessor getAccessor(Class<?> beanClass,
String propertyName,
String getterName,
String setterName)
- Description copied from interface:
PropertyAccessors.PropertyAccessorProvider
- Looks up and returns a PropertyAccessor for the given bean class
and the specified property, getter, and setter.
- Specified by:
getAccessor
in interface PropertyAccessors.PropertyAccessorProvider
- Parameters:
beanClass
- the class the provides the propertypropertyName
- the name of the property, e.g. "name", "enabled"getterName
- the name of the getter, e.g. "getName", "isEnabled"setterName
- the name of the setter, e.g. "setName", "setEnabled"
- Returns:
- a PropertyAccessor for the given property that
reads property values using a read method with the given
getter name, and sets property values using a write method
with the given setter name
Copyright © 2002-2013 JGoodies Software GmbH. All Rights Reserved.