Map2BeanTransformer
, please use it instead instead.@Deprecated public class Map2BeanTransformer extends Map2BeanTransformer
TypeMapping
and PreConfiguredBeanUtils
to mimic what Node2BeanTransformer does.Constructor and Description |
---|
Map2BeanTransformer(ComponentProvider componentProvider,
TypeMapping mapping,
PreConfiguredBeanUtils beanUtils)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
toBean(Map<String,Object> map,
Class<T> targetType)
Deprecated.
|
transform
@Inject public Map2BeanTransformer(ComponentProvider componentProvider, TypeMapping mapping, PreConfiguredBeanUtils beanUtils)
public <T> T toBean(Map<String,Object> map, Class<T> targetType) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException, ConfigurationParsingException
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.