public class Map2BeanTransformer extends Object
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) |
@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> defaultRootType) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException, ConfigurationParsingException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.