Package org.smooks.api.converter
Interface TypeConverter<S,T>
-
- Type Parameters:
S
- the source classT
- the target class
- All Known Implementing Classes:
DateLocaleAwareTypeConverter
,DateToStringLocaleAwareConverter
,EnumTypeConverterFactory.EnumTypeConverter
,LocaleAwareTypeConverter
,MappingTypeConverterFactory.MappingTypeConverter
,NumberToStringConverter
,NumberTypeConverter
,SqlDateConverterFactory.SqlDateTypeConverter
,SqlTimeConverterFactory.SqlTimeTypeConverter
,StringToDateConverterFactory.StringToDateConverter
,StringToDateLocaleAwareConverter
,StringToDoubleConverterFactory.StringToDoubleTypeConverter
,StringToXmlGregorianCalendarConverterFactory.StringToXmlGregorianCalendarConverter
public interface TypeConverter<S,T>
Converts an object from a source class to a target class.A reference to a
TypeConverter
should be obtained from aTypeConverterFactory
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
convert(S value)
-