public interface TypeConverter
| Modifier and Type | Field and Description |
|---|---|
static Object |
NO_CONVERSION_POSSIBLE |
static String |
TYPE_CONVERTER_CONTEXT_KEY
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
convertValue(Map<String,Object> context,
Object target,
Member member,
String propertyName,
Object value,
Class toType)
Converts the given value to a given type.
|
static final Object NO_CONVERSION_POSSIBLE
@Deprecated static final String TYPE_CONVERTER_CONTEXT_KEY
Object convertValue(Map<String,Object> context, Object target, Member member, String propertyName, Object value, Class toType)
context - 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 © 2000–2025 Apache Software Foundation. All rights reserved.