|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.fikin.pojostate.select.AbstractSelector
net.sf.fikin.pojostate.select.BeanMethodsSelector
public class BeanMethodsSelector
Select all Bean getter methods
Backed by DefaultMethodMeta
for name, description and format.
created on Mar 1, 2007
Constructor Summary | |
---|---|
BeanMethodsSelector()
|
Method Summary | |
---|---|
boolean |
getFilteroutObject()
are java-lang.Object methods filtered out automatically |
protected boolean |
isApplicable(java.lang.Class clazz,
java.lang.reflect.Method method,
java.util.Locale locale,
java.lang.ClassLoader loader)
test if given method is Bean getter one |
protected MethodMeta |
newMethodMeta(java.lang.Class clazz,
java.lang.reflect.Method method,
java.util.Locale locale,
java.lang.ClassLoader loader)
instantiate new DefaultMethodMeta object |
void |
setFilteroutObject(boolean flg)
should java.lang.Object methods be filtered out |
Methods inherited from class net.sf.fikin.pojostate.select.AbstractSelector |
---|
getMethodMeta |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanMethodsSelector()
Method Detail |
---|
public void setFilteroutObject(boolean flg)
flg
- is true they will be filtered out, if false they will
be includedpublic boolean getFilteroutObject()
protected boolean isApplicable(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader)
isApplicable
in class AbstractSelector
clazz
- is POJO's classmethod
- is some of the clazz methods, currently being tested
if it is to be observedlocale
- to be used when creating the metadataloader
- is the classloader to be used to load any resource
file (if required)
protected MethodMeta newMethodMeta(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader) throws DecorationException
DefaultMethodMeta
object
newMethodMeta
in class AbstractSelector
clazz
- is POJO's classmethod
- to be includedlocale
- to be used when creating the metadataloader
- is the classloader to be used to load any resource
file (if required)
DefaultMethodMeta
object
DecorationException
- in case of internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |