org.deckfour.xes.xstream
Class XEventConverter

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

public class XEventConverter
extends XConverter

XStream converter for serializing events.

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

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

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

XEventConverter

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