public interface TypeConverter
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertValue(java.util.Map context,
java.lang.Object target,
java.lang.reflect.Member member,
java.lang.String propertyName,
java.lang.Object value,
java.lang.Class toType)
Converts the given value to a given type.
|
java.lang.Object convertValue(java.util.Map context,
java.lang.Object target,
java.lang.reflect.Member member,
java.lang.String propertyName,
java.lang.Object value,
java.lang.Class toType)
context - OGNL context under which the conversion is being donetarget - target object in which the property is being setmember - member (Constructor, Method or Field) being setpropertyName - property name being setvalue - value to be convertedtoType - type to which value is convertedCopyright © 1997-2018 OpenSymphony. All Rights Reserved.