org.deckfour.xes.xstream
Class XExtensionConverter

java.lang.Object
  extended by org.deckfour.xes.xstream.XConverter
      extended by org.deckfour.xes.xstream.XExtensionConverter
All Implemented Interfaces:
Converter, 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
XExtensionConverter()
           
 
Method Summary
 boolean canConvert(Class c)
           
 void marshal(Object obj, HierarchicalStreamWriter writer, MarshallingContext context)
           
 void registerAliases(XStream stream)
          Registers XStream aliases
 Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XExtensionConverter

public XExtensionConverter()
Method Detail

marshal

public void marshal(Object obj,
                    HierarchicalStreamWriter writer,
                    MarshallingContext context)

unmarshal

public Object unmarshal(HierarchicalStreamReader reader,
                        UnmarshallingContext context)

canConvert

public boolean canConvert(Class c)

registerAliases

public void registerAliases(XStream stream)
Description copied from class: XConverter
Registers XStream aliases

Overrides:
registerAliases in class XConverter