de.odysseus.el.misc
Interface TypeConverter
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- Bindings, TypeConverterImpl
public interface TypeConverter
- extends java.io.Serializable
Method Summary |
|
convert(java.lang.Object value,
java.lang.Class<T> type)
Convert the given input value to the specified target type. |
DEFAULT
static final TypeConverter DEFAULT
- Default conversions as from JSR245.
convert
<T> T convert(java.lang.Object value,
java.lang.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