org.dozer.factory
Class JAXBBeanFactory
java.lang.Object
org.dozer.factory.JAXBBeanFactory
- All Implemented Interfaces:
- BeanFactory
public class JAXBBeanFactory
- extends Object
- implements BeanFactory
Public custom bean factory that can be used by applition code when mapping JAXB data objects
- Author:
- Vincent Jassogne
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBBeanFactory
public JAXBBeanFactory()
createBean
public Object createBean(Object srcObj,
Class<?> srcObjClass,
String beanId)
- Create a bean implementation of a jaxb interface.
- Specified by:
createBean in interface BeanFactory
- Parameters:
srcObj - The source objectsrcObjClass - The source object classbeanId - the name of the destination interface class
- Returns:
- A implementation of the destination interface
Copyright © 2005-2011 dozer. All Rights Reserved.