Package org.smooks.engine.converter
Class SqlDateConverterFactory
- java.lang.Object
-
- org.smooks.engine.converter.SqlDateConverterFactory
-
- All Implemented Interfaces:
TypeConverterFactory<String,Date>,Configurable
public class SqlDateConverterFactory extends Object implements TypeConverterFactory<String,Date>, Configurable
Datedata decoder. ExtendsDateDecoderand returns a java.sql.Date instance.- Author:
- daniel.bevenius@gmail.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSqlDateConverterFactory.SqlDateTypeConverter
-
Constructor Summary
Constructors Constructor Description SqlDateConverterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeConverter<String,Date>createTypeConverter()PropertiesgetConfiguration()Get the component configuration.TypeConverterDescriptor<Class<String>,Class<Date>>getTypeConverterDescriptor()voidsetConfiguration(Properties properties)Set the component configuration.
-
-
-
Method Detail
-
createTypeConverter
public TypeConverter<String,Date> createTypeConverter()
- Specified by:
createTypeConverterin interfaceTypeConverterFactory<String,Date>
-
getTypeConverterDescriptor
public TypeConverterDescriptor<Class<String>,Class<Date>> getTypeConverterDescriptor()
- Specified by:
getTypeConverterDescriptorin interfaceTypeConverterFactory<String,Date>
-
setConfiguration
public void setConfiguration(Properties properties) throws SmooksConfigException
Description copied from interface:ConfigurableSet the component configuration.- Specified by:
setConfigurationin interfaceConfigurable- Parameters:
properties- The component configuration properties.- Throws:
SmooksConfigException- Bad component configuration.
-
getConfiguration
public Properties getConfiguration()
Description copied from interface:ConfigurableGet the component configuration.- Specified by:
getConfigurationin interfaceConfigurable- Returns:
- The component configuration properties.
-
-