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