Package org.smooks.engine.converter
Class CalendarConverterFactory
- java.lang.Object
-
- org.smooks.engine.converter.CalendarConverterFactory
-
- All Implemented Interfaces:
TypeConverterFactory<String,Calendar>
public class CalendarConverterFactory extends Object implements TypeConverterFactory<String,Calendar>
Calendar
data decoder. Decodes the supplied string into aCalendar
value based on the supplied "format
" parameter. This decoder is synchronized on its underlyingSimpleDateFormat
instance.- Author:
- tom.fennelly@gmail.com, Pavel Kadlec, daniel.bevenius@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CalendarConverterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeConverter<String,Calendar>
createTypeConverter()
TypeConverterDescriptor<Class<String>,Class<Calendar>>
getTypeConverterDescriptor()
-
-
-
Method Detail
-
createTypeConverter
public TypeConverter<String,Calendar> createTypeConverter()
- Specified by:
createTypeConverter
in interfaceTypeConverterFactory<String,Calendar>
-
getTypeConverterDescriptor
public TypeConverterDescriptor<Class<String>,Class<Calendar>> getTypeConverterDescriptor()
- Specified by:
getTypeConverterDescriptor
in interfaceTypeConverterFactory<String,Calendar>
-
-