TO - the type of object to convert to from a map.public interface Converter<TO> extends BaseConverter<Map<String,Object>,TO>
AbstractConverter instead of implementing this interface as the abstract converter
has implementation to methods convertTo() and instanceOfType()
COLON, EMPTY_STRING| Modifier and Type | Method and Description |
|---|---|
TO |
convert(Map<String,Object> convertFrom)
Convert the Map into a user defined object.
|
Class<TO> |
convertTo()
The class of the generic type argument to which the data should be converted to.
|
TO |
instanceOfType()
Method responsible for returning an instance of the provided Generic Type argument.
|
Class<TO> convertTo()
TO convert(Map<String,Object> convertFrom)
convert in interface BaseConverter<Map<String,Object>,TO>convertFrom - the Map to convert fromconvertTo() class.TO instanceOfType()
AbstractConverter.instanceOfType() methods Javadoc for details on the default implementation.Copyright © 2014. All rights reserved.