Class JsonXStreamMarshallerFactory
- java.lang.Object
-
- de.hybris.platform.ycommercewebservices.xstream.XmlXStreamMarshallerFactory
-
- de.hybris.platform.ycommercewebservices.xstream.JsonXStreamMarshallerFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.FactoryBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class JsonXStreamMarshallerFactory extends XmlXStreamMarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description JsonXStreamMarshallerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected org.springframework.oxm.xstream.XStreamMarshallercreateMarshaller()creates a custom json writer which swallows top most root nodesjava.lang.ObjectgetObject()-
Methods inherited from class de.hybris.platform.ycommercewebservices.xstream.XmlXStreamMarshallerFactory
configureXmlMarshaller, getExcludeClasses, getObjectInternal, getObjectType, getXStream, isSingleton, setAliases, setApplicationContext, setAttributeAliasInternal, setAttributeConverterInternal, setAttributeOmitInternal, setConverters, setExcludeClasses, setFieldAliasInternal, setImplicitCollections, setOmitted, setTypeAliasInternal, setTypeConverterInternal, setXStream
-
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classXmlXStreamMarshallerFactory- Throws:
java.lang.Exception
-
getObject
public java.lang.Object getObject() throws java.lang.Exception- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Overrides:
getObjectin classXmlXStreamMarshallerFactory- Throws:
java.lang.Exception
-
createMarshaller
protected org.springframework.oxm.xstream.XStreamMarshaller createMarshaller()
creates a custom json writer which swallows top most root nodes- Overrides:
createMarshallerin classXmlXStreamMarshallerFactory
-
-