Package de.odysseus.el.misc
Interface TypeConverter
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
Bindings,TypeConverterImpl
public interface TypeConverter extends java.io.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(java.lang.Object value, java.lang.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(java.lang.Object value, java.lang.Class<T> type) throws ELExceptionConvert the given input value to the specified target type.- Parameters:
value- input valuetype- target type- Returns:
- conversion result
- Throws:
ELException
-
-