public class ConverterAdapter
extends java.lang.Object
implements com.thoughtworks.xstream.converters.Converter
Constructor and Description |
---|
ConverterAdapter(com.liferay.exportimport.kernel.xstream.XStreamConverter xStreamConverter) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(java.lang.Class clazz) |
void |
marshal(java.lang.Object object,
com.thoughtworks.xstream.io.HierarchicalStreamWriter hierarchicalStreamWriter,
com.thoughtworks.xstream.converters.MarshallingContext marshallingContext) |
java.lang.Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader,
com.thoughtworks.xstream.converters.UnmarshallingContext unmarshallingContext) |
public ConverterAdapter(com.liferay.exportimport.kernel.xstream.XStreamConverter xStreamConverter)
public boolean canConvert(java.lang.Class clazz)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
public void marshal(java.lang.Object object, com.thoughtworks.xstream.io.HierarchicalStreamWriter hierarchicalStreamWriter, com.thoughtworks.xstream.converters.MarshallingContext marshallingContext)
marshal
in interface com.thoughtworks.xstream.converters.Converter
public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader hierarchicalStreamReader, com.thoughtworks.xstream.converters.UnmarshallingContext unmarshallingContext)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter