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
static TypeConverter DEFAULT
          Default conversions as from JSR245.
 
Method Summary
<T> T
convert(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 ELException
Convert the given input value to the specified target type.

Parameters:
value - input value
type - target type
Returns:
conversion result
Throws:
ELException

Copyright © 2006-2009 Odysseus Software GmbH.