edu.vt.middleware.ldap.props
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(java.lang.Class<?> c)
Creates a new
SimplePropertyInvoker for the supplied class. |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
convertValue(java.lang.Class<?> type,
java.lang.String value)
This converts the supplied string value into an Object of the appropriate
supplied type.
|
createClass, getProperties, hasProperty, initialize, instantiateType, invokeMethod, setProperty
public SimplePropertyInvoker(java.lang.Class<?> c)
SimplePropertyInvoker
for the supplied class.c
- Class
that has setter methodsprotected java.lang.Object convertValue(java.lang.Class<?> type, java.lang.String value)
convertValue
in class AbstractPropertyInvoker
type
- of object to convert value intovalue
- to parseCopyright © 2014. All Rights Reserved.