|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.clazz.reflect.common.AccessorMethodParser org.apache.commons.clazz.reflect.extended.ReflectedMappedPropertyIntrospector.KeySetAccessorMethodParser
public static class ReflectedMappedPropertyIntrospector.KeySetAccessorMethodParser
Parser for the getFooKeys()
method:
Constructor Summary | |
---|---|
ReflectedMappedPropertyIntrospector.KeySetAccessorMethodParser()
|
Method Summary | |
---|---|
protected int |
requiredParameterCount()
If a method parsed by this parser must have a number or parameters, override and return that number. |
protected String |
requiredPrefix()
If a method parsed by this parser must have a certain prefix, override and return a non-null prefix string |
protected String |
testAndRemoveSuffix(String methodName)
If a method parsed by this parser must have a certain suffix, override this method, check that it does and remove the suffix. |
protected boolean |
testReturnType(Class javaClass)
To check constraints on the return type of methods parsed by this parser, override and perform the check. |
Methods inherited from class org.apache.commons.clazz.reflect.common.AccessorMethodParser |
---|
decapitalize, getParameterType, getPropertyName, getValueType, parse, testFirstCharacterOfPropertyName, testParameterType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectedMappedPropertyIntrospector.KeySetAccessorMethodParser()
Method Detail |
---|
protected boolean testReturnType(Class javaClass)
AccessorMethodParser
testReturnType
in class AccessorMethodParser
javaClass
- The return type of the method (never null)
protected String requiredPrefix()
AccessorMethodParser
requiredPrefix
in class AccessorMethodParser
protected int requiredParameterCount()
AccessorMethodParser
requiredParameterCount
in class AccessorMethodParser
protected String testAndRemoveSuffix(String methodName)
AccessorMethodParser
testAndRemoveSuffix
in class AccessorMethodParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |