Package org.smooks.engine.converter
Class StringToIntegerConverterFactory
- java.lang.Object
-
- org.smooks.engine.converter.StringToIntegerConverterFactory
-
- All Implemented Interfaces:
TypeConverterFactory<String,Integer>
,Configurable
public class StringToIntegerConverterFactory extends Object implements TypeConverterFactory<String,Integer>, Configurable
Integer Decoder.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description StringToIntegerConverterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeConverter<String,Integer>
createTypeConverter()
Properties
getConfiguration()
Get the component configuration.TypeConverterDescriptor<Class<String>,Class<Integer>>
getTypeConverterDescriptor()
void
setConfiguration(Properties properties)
Set the component configuration.
-
-
-
Method Detail
-
createTypeConverter
public TypeConverter<String,Integer> createTypeConverter()
- Specified by:
createTypeConverter
in interfaceTypeConverterFactory<String,Integer>
-
getTypeConverterDescriptor
public TypeConverterDescriptor<Class<String>,Class<Integer>> getTypeConverterDescriptor()
- Specified by:
getTypeConverterDescriptor
in interfaceTypeConverterFactory<String,Integer>
-
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.
-
-