org.deckfour.xes.model.buffered
Class XAttributeMapSerializerImpl

java.lang.Object
  extended by org.deckfour.xes.model.buffered.XAttributeMapSerializerImpl
All Implemented Interfaces:
XAttributeMapSerializer

public class XAttributeMapSerializerImpl
extends Object
implements XAttributeMapSerializer

This class provides binary serialization of XAttributeMap instances, based on the DataInput and DataOutput interfaces.

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

Constructor Summary
XAttributeMapSerializerImpl()
           
 
Method Summary
 XAttributeMap deserialize(DataInput in)
          Deserializes an attribute map from a given data source.
 void serialize(XAttributeMap map, DataOutput out)
          Serializes an attribute map to the given output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XAttributeMapSerializerImpl

public XAttributeMapSerializerImpl()
Method Detail

serialize

public void serialize(XAttributeMap map,
                      DataOutput out)
               throws IOException
Description copied from interface: XAttributeMapSerializer
Serializes an attribute map to the given output.

Specified by:
serialize in interface XAttributeMapSerializer
Parameters:
map - Attribute map to be serialized.
out - Data output interface.
Throws:
IOException

deserialize

public XAttributeMap deserialize(DataInput in)
                          throws IOException
Description copied from interface: XAttributeMapSerializer
Deserializes an attribute map from a given data source.

Specified by:
deserialize in interface XAttributeMapSerializer
Parameters:
in - Data input interface to read from.
Returns:
The deserialized attribute map.
Throws:
IOException