Package net.obvj.confectory.mapper
Class AbstractBeanMapper<T>
- java.lang.Object
-
- net.obvj.confectory.mapper.AbstractBeanMapper<T>
-
- All Implemented Interfaces:
Mapper<T>
- Direct Known Subclasses:
StringMapper
public abstract class AbstractBeanMapper<T> extends Object implements Mapper<T>
An abstractMapperfor implementations intended to load the contents of anInputStreaminto user-defined beans.- Since:
- 0.1.0
- Author:
- oswaldo.bapvic.jr (Oswaldo Junior)
-
-
Constructor Summary
Constructors Constructor Description AbstractBeanMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationHelper<T>configurationHelper(T bean)Creates a newConfigurationHelperinstance recommended by thisMapper.
-
-
-
Method Detail
-
configurationHelper
public ConfigurationHelper<T> configurationHelper(T bean)
Description copied from interface:MapperCreates a newConfigurationHelperinstance recommended by thisMapper.- Specified by:
configurationHelperin interfaceMapper<T>- Parameters:
bean- the configuration object to be used by the helper- Returns:
- a
BeanConfigurationHelper, since the configuration for this type ofMapperis intended to be retrieved by the user-defined bean.
-
-