org.objectweb.telosys.rpl.xml
Interface IXmlWrapperProvider

All Known Implementing Classes:
StandardXmlWrapperRegistry

public interface IXmlWrapperProvider

Interface describing the contract of XML wrapper providers


Method Summary
 IXmlWrapper getWrapper(java.lang.Class beanClass)
          Returns an XML wrapper associated with the given bean class name
 IXmlWrapper getWrapper(java.lang.Object beanInstance)
          Returns an XML wrapper associated with the given bean class name
 

Method Detail

getWrapper

public IXmlWrapper getWrapper(java.lang.Object beanInstance)
Returns an XML wrapper associated with the given bean class name

Parameters:
beanInstance - the object instance (cannot be null)
Returns:
Throws:
TelosysRuntimeException - if the parameter is null

getWrapper

public IXmlWrapper getWrapper(java.lang.Class beanClass)
Returns an XML wrapper associated with the given bean class name

Parameters:
beanClass - the object class (cannot be null)
Returns:
Throws:
TelosysRuntimeException - if the parameter is null