Class JaxbStringWrapperFactory
- java.lang.Object
-
- de.hybris.platform.webservicescommons.jaxb.wrapper.impl.JaxbStringWrapperFactory
-
- All Implemented Interfaces:
JaxbObjectWrapperFactory
public class JaxbStringWrapperFactory extends java.lang.Object implements JaxbObjectWrapperFactory
-
-
Constructor Summary
Constructors Constructor Description JaxbStringWrapperFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxbObjectWrappercreateWrapper(java.lang.Object o)Creates wrapper for given object.java.lang.Class<?>getWrapperClass()Returns runtime class of wrapper produced by this factory.booleansupports(java.lang.Class<?> clazz)Checks if class is supported by this factory
-
-
-
Method Detail
-
createWrapper
public JaxbObjectWrapper createWrapper(java.lang.Object o)
Description copied from interface:JaxbObjectWrapperFactoryCreates wrapper for given object. May throw runtime exception if object is not supported- Specified by:
createWrapperin interfaceJaxbObjectWrapperFactory- Parameters:
o- object to wrap- Returns:
- wrapped object
-
supports
public boolean supports(java.lang.Class<?> clazz)
Description copied from interface:JaxbObjectWrapperFactoryChecks if class is supported by this factory- Specified by:
supportsin interfaceJaxbObjectWrapperFactory- Parameters:
clazz- class for check- Returns:
- true if class is supported
-
getWrapperClass
public java.lang.Class<?> getWrapperClass()
Description copied from interface:JaxbObjectWrapperFactoryReturns runtime class of wrapper produced by this factory.- Specified by:
getWrapperClassin interfaceJaxbObjectWrapperFactory- Returns:
- class of wrapper produced by this factory.
-
-