|
||||||||||
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.PutAccessorMethodParser
public static class ReflectedMappedPropertyIntrospector.PutAccessorMethodParser
Parser for the setFoo(key, value)
method:
Constructor Summary | |
---|---|
ReflectedMappedPropertyIntrospector.PutAccessorMethodParser()
|
Method Summary | |
---|---|
protected Class |
getParameterType(Method method)
Extract the parameter type from the method, if it has one. |
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 |
Methods inherited from class org.apache.commons.clazz.reflect.common.AccessorMethodParser |
---|
decapitalize, getPropertyName, parse, testAndRemoveSuffix, testFirstCharacterOfPropertyName, testParameterType, testReturnType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectedMappedPropertyIntrospector.PutAccessorMethodParser()
Method Detail |
---|
protected String requiredPrefix()
AccessorMethodParser
requiredPrefix
in class AccessorMethodParser
protected int requiredParameterCount()
AccessorMethodParser
requiredParameterCount
in class AccessorMethodParser
protected Class getValueType(Method method)
AccessorMethodParser
getValueType
in class AccessorMethodParser
protected Class getParameterType(Method method)
AccessorMethodParser
getParameterType
in class AccessorMethodParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |