org.deckfour.xes.xstream
Class XAttributeConverter

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

public class XAttributeConverter
extends XConverter

XStream converter for serializing attributes.

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

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

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

XAttributeConverter

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