Class XmlXStreamFactory
java.lang.Object
de.hybris.platform.commercewebservices.core.xstream.XmlXStreamFactory
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
JsonXStreamFactory
public class XmlXStreamFactory
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
XStream instance factory-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected com.thoughtworks.xstream.mapper.MapperWrappercreateMapperWrapper(com.thoughtworks.xstream.mapper.MapperWrapper parent) Due to schema compatibility requirements, customizes aMapperWrapperfor arrays to don't generate a -array suffixes.protected com.thoughtworks.xstream.XStreamboolean
-
Constructor Details
-
XmlXStreamFactory
public XmlXStreamFactory()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Throws:
Exception
-
getObjectInternal
protected com.thoughtworks.xstream.XStream getObjectInternal() -
createMapperWrapper
protected com.thoughtworks.xstream.mapper.MapperWrapper createMapperWrapper(com.thoughtworks.xstream.mapper.MapperWrapper parent) Due to schema compatibility requirements, customizes aMapperWrapperfor arrays to don't generate a -array suffixes. -
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-