org.dozer.factory
Class XMLBeanFactory

java.lang.Object
  extended by org.dozer.factory.XMLBeanFactory
All Implemented Interfaces:
BeanFactory

public class XMLBeanFactory
extends Object
implements BeanFactory

Public custom bean factory that can be used by applition code when mapping XMLBean data objects

Author:
garsombke.franz

Constructor Summary
XMLBeanFactory()
           
 
Method Summary
 Object createBean(Object srcObj, Class<?> srcObjClass, String beanId)
          Creat a bean implementation of a xml bean interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBeanFactory

public XMLBeanFactory()
Method Detail

createBean

public Object createBean(Object srcObj,
                         Class<?> srcObjClass,
                         String beanId)
Creat a bean implementation of a xml bean interface.

Specified by:
createBean in interface BeanFactory
Parameters:
srcObj - The source object
srcObjClass - The source object class
beanId - the name of the destination interface class
Returns:
A implementation of the destination interface


Copyright © 2005-2011 dozer. All Rights Reserved.