public class SimplePropertyInvoker extends AbstractPropertyInvoker
SimplePropertyInvoker stores setter methods for a class to make
method invocation of simple properties easier.clazz, logger, properties, PROPERTIES_CACHE| Constructor and Description |
|---|
SimplePropertyInvoker(Class<?> c)
Creates a new
SimplePropertyInvoker for the supplied class. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertValue(Class<?> type,
String value)
This converts the supplied string value into an Object of the appropriate
supplied type.
|
createClass, getProperties, hasProperty, initialize, instantiateType, invokeMethod, setPropertypublic SimplePropertyInvoker(Class<?> c)
SimplePropertyInvoker for the supplied class.c - Class that has setter methodsprotected Object convertValue(Class<?> type, String value)
convertValue in class AbstractPropertyInvokertype - of object to convert value intovalue - to parseCopyright © 2014. All rights reserved.