Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jgoodies.binding.beans
Interface PropertyAccessors.PropertyAccessorProvider

All Known Implementing Classes:
  FastPropertyAccessorProviderDraft, PropertyAccessors.IntrospectionPropertyAccessorProvider

Enclosing class:
  PropertyAccessors

    public static interface PropertyAccessors.PropertyAccessorProvider

Just describes how to look up a PropertyAccessor.

Method Summary
`PropertyAccessor` | `getAccessor(Class<?> beanClass, String propertyName, String getterName, String setterName)` Looks up and returns a PropertyAccessor for the given bean class and the specified property, getter, and setter.

Method Detail

### getAccessor

    PropertyAccessor getAccessor(Class<?> beanClass,
                                 String propertyName,
                                 String getterName,
                                 String setterName)

  Looks up and returns a PropertyAccessor for the given bean class and the specified property, getter, and setter.

  Parameters:
    `beanClass` - the class the provides the property
    `propertyName` - 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2011 JGoodies Karsten Lentzsch. All Rights Reserved.