|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.clazz.reflect.common.AccessorMethodParser
org.apache.commons.clazz.reflect.common.ReflectedListPropertyIntrospectorSupport.GetAccessorMethodParser
public static class ReflectedListPropertyIntrospectorSupport.GetAccessorMethodParser
Parser for the getFoo(int) method:
| Constructor Summary | |
|---|---|
ReflectedListPropertyIntrospectorSupport.GetAccessorMethodParser()
|
|
| Method Summary | |
|---|---|
protected Class |
getValueType(Method method)
Extract the value type from the method. |
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 boolean |
testParameterType(int index,
Class parameterType)
To check constraints on the type of a parameter, override and perform the check. |
protected boolean |
testReturnType(Class returnType)
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, parse, testAndRemoveSuffix, testFirstCharacterOfPropertyName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReflectedListPropertyIntrospectorSupport.GetAccessorMethodParser()
| Method Detail |
|---|
protected boolean testReturnType(Class returnType)
AccessorMethodParser
testReturnType in class AccessorMethodParserreturnType - The return type of the method (never null)
protected String requiredPrefix()
AccessorMethodParser
requiredPrefix in class AccessorMethodParserprotected int requiredParameterCount()
AccessorMethodParser
requiredParameterCount in class AccessorMethodParser
protected boolean testParameterType(int index,
Class parameterType)
AccessorMethodParser
testParameterType in class AccessorMethodParserprotected Class getValueType(Method method)
AccessorMethodParser
getValueType in class AccessorMethodParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||