Class VoucherConverter
java.lang.Object
de.hybris.platform.commercewebservices.core.conv.AbstractRedirectableConverter
de.hybris.platform.commercewebservices.core.conv.VoucherConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher,RedirectableConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Class type) voidmarshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writerOrig, com.thoughtworks.xstream.converters.MarshallingContext context) unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) Methods inherited from class de.hybris.platform.commercewebservices.core.conv.AbstractRedirectableConverter
getTargetConverter, setTargetConverter
-
Constructor Details
-
VoucherConverter
public VoucherConverter()
-
-
Method Details
-
canConvert
-
marshal
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writerOrig, com.thoughtworks.xstream.converters.MarshallingContext context) -
unmarshal
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) -
getConvertedClass
- Returns:
Classthat current converter is able to convert.
-