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
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected org.springframework.oxm.xstream.XStreamMarshallercreates a custom json writer which swallows top most root nodesMethods 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
-
Constructor Details
-
JsonXStreamMarshallerFactory
public JsonXStreamMarshallerFactory()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classXmlXStreamMarshallerFactory- Throws:
Exception
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Overrides:
getObjectin classXmlXStreamMarshallerFactory- Throws:
Exception
-
createMarshaller
protected org.springframework.oxm.xstream.XStreamMarshaller createMarshaller()creates a custom json writer which swallows top most root nodes- Overrides:
createMarshallerin classXmlXStreamMarshallerFactory
-