net.sf.beanlib.provider.finder
Class ProtectedReaderMethodFinder
java.lang.Object
net.sf.beanlib.provider.finder.ProtectedReaderMethodFinder
- All Implemented Interfaces:
- BeanMethodFinder
- Direct Known Subclasses:
- PrivateReaderMethodFinder
public class ProtectedReaderMethodFinder
- extends Object
- implements BeanMethodFinder
Supports finding JavaBean reader method which is either public or protected.
- Author:
- Joe D. Velopar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtectedReaderMethodFinder
public ProtectedReaderMethodFinder()
find
public Method find(String propertyName,
Object bean)
- Specified by:
find
in interface BeanMethodFinder
- Parameters:
propertyName
- property name related to the method to be found.bean
- JavaBean instance.
- Returns:
- the method found or null if not found.
qualified
protected boolean qualified(Method m,
int mod)