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