Map2BeanTransformer
, please use it instead instead.@Deprecated public class Map2BeanTransformer extends Map2BeanTransformer
TypeMapping
and PreConfiguredBeanUtils
to mimic what Node2BeanTransformer does.METADATA_PREFIX
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.
|
createInstance, handleMissingProperty, readCollection, readMap, readValue, 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–2020 Magnolia International Ltd.. All rights reserved.