Interface TypeConverter
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Bindings,TypeConverterImpl
public interface TypeConverter extends Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static TypeConverterDEFAULTDefault conversions as from JSR245.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tconvert(Object value, Class<T> type)Convert the given input value to the specified target type.
-
-
-
Field Detail
-
DEFAULT
static final TypeConverter DEFAULT
Default conversions as from JSR245.
-
-
Method Detail
-
convert
<T> T convert(Object value, Class<T> type) throws ELException
Convert the given input value to the specified target type.- Parameters:
value- input valuetype- target type- Returns:
- conversion result
- Throws:
ELException
-
-