Package org.deckfour.xes.xstream
Class XExtensionConverter
- java.lang.Object
-
- org.deckfour.xes.xstream.XConverter
-
- org.deckfour.xes.xstream.XExtensionConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
public class XExtensionConverter extends XConverter
XStream converter for serializing extensions.For more information about XStream and its serialization API, please see http://xstream.codehaus.org/.
- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Constructor Summary
Constructors Constructor Description XExtensionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanConvert(java.lang.Class c)voidmarshal(java.lang.Object obj, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)voidregisterAliases(com.thoughtworks.xstream.XStream stream)Registers XStream aliasesjava.lang.Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
-
-
Method Detail
-
marshal
public void marshal(java.lang.Object obj, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
-
unmarshal
public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
canConvert
public boolean canConvert(java.lang.Class c)
-
registerAliases
public void registerAliases(com.thoughtworks.xstream.XStream stream)
Description copied from class:XConverterRegisters XStream aliases- Overrides:
registerAliasesin classXConverter
-
-