Class XmlXStreamFactory

java.lang.Object
de.hybris.platform.ycommercewebservices.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
  • Constructor Details

    • XmlXStreamFactory

      public XmlXStreamFactory()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getObject

      public Object getObject() throws Exception
      Specified by:
      getObject in interface org.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 a MapperWrapper for arrays to don't generate a -array suffixes.
    • getObjectType

      public Class getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean