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