Package org.smooks.api.converter
Interface TypeConverterFactory<S,T>
-
- Type Parameters:
S
- theTypeConverter
's source classT
- theTypeConverter
's target class
- All Known Implementing Classes:
BigDecimalToStringConverterFactory
,BigIntegerToStringConverterFactory
,BinaryConverterFactory
,BooleanConverterFactory
,ByteConverterFactory
,CalendarConverterFactory
,CharacterConverterFactory
,CharsetConverterFactory
,ClassConverterFactory
,CsvConverterFactory
,DateToStringConverterFactory
,DefaultTypeConverterFactory
,DoubleToStringConverterFactory
,EnumTypeConverterFactory
,FileConverterFactory
,FloatToStringConverterFactory
,FreeMarkerConverterFactory
,IntegerToStringConverterFactory
,LongToStringConverterFactory
,MappingTypeConverterFactory
,MvelExpressionEvaluatorConverterFactory
,ShortToStringConverterFactory
,SqlDateConverterFactory
,SqlTimeConverterFactory
,SqlTimestampConverterFactory
,StringConverterFactory
,StringToBigDecimalConverterFactory
,StringToBigIntegerConverterFactory
,StringToDateConverterFactory
,StringToDoubleConverterFactory
,StringToFloatConverterFactory
,StringToIntegerConverterFactory
,StringToLongConverterFactory
,StringToShortConverterFactory
,StringToXmlGregorianCalendarConverterFactory
,URIConverterFactory
,URLConverterFactory
,XmlGregorianCalendarToStringConverterFactory
@ThreadSafe public interface TypeConverterFactory<S,T>
Creates aTypeConverter
for converting objects of different types.A
TypeConverterFactory
is registered in the provider-configuration fileMETA-INF/services/org.smooks.converter.factory.TypeConverterFactory
and discovered at startup.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeConverter<? super S,? extends T>
createTypeConverter()
TypeConverterDescriptor<Class<S>,Class<T>>
getTypeConverterDescriptor()
-
-
-
Method Detail
-
createTypeConverter
TypeConverter<? super S,? extends T> createTypeConverter()
-
getTypeConverterDescriptor
TypeConverterDescriptor<Class<S>,Class<T>> getTypeConverterDescriptor()
-
-