org.deckfour.xes.xstream
Class XTraceConverter

java.lang.Object
  extended by org.deckfour.xes.xstream.XConverter
      extended by org.deckfour.xes.xstream.XTraceConverter
All Implemented Interfaces:
Converter, ConverterMatcher

public class XTraceConverter
extends XConverter

XStream converter for serializing traces.

For more information about XStream and its serialization API, please see http://xstream.codehaus.org/.

Author:
Christian W. Guenther (christian@deckfour.org)

Constructor Summary
XTraceConverter()
           
 
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

XTraceConverter

public XTraceConverter()
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