Class JAXBBeanFactory
- java.lang.Object
-
- com.github.dozermapper.core.factory.JAXBBeanFactory
-
- All Implemented Interfaces:
BeanFactory
public class JAXBBeanFactory extends Object implements BeanFactory
Public custom bean factory that can be used by application code when mapping JAXB data objects
-
-
Constructor Summary
Constructors Constructor Description JAXBBeanFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcreateBean(Object srcObj, Class<?> srcObjClass, String beanId, BeanContainer beanContainer)Create a bean implementation of a JAXB interface.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.dozermapper.core.BeanFactory
createBean
-
-
-
-
Method Detail
-
createBean
public Object createBean(Object srcObj, Class<?> srcObjClass, String beanId, BeanContainer beanContainer)
Create a bean implementation of a JAXB interface.- Specified by:
createBeanin interfaceBeanFactory- Parameters:
srcObj- The source objectsrcObjClass- The source object classbeanId- the name of the destination interface class- Returns:
- A implementation of the destination interface
-
-