org.deckfour.xes.model.buffered
Interface XAttributeMapSerializer

All Known Implementing Classes:
XAttributeMapSerializerImpl

public interface XAttributeMapSerializer

This interface defines binary serialization of XAttributeMap instances, based on the DataInput and DataOutput interfaces.

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

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.
 

Method Detail

serialize

void serialize(XAttributeMap map,
               DataOutput out)
               throws IOException
Serializes an attribute map to the given output.

Parameters:
map - Attribute map to be serialized.
out - Data output interface.
Throws:
IOException

deserialize

XAttributeMap deserialize(DataInput in)
                          throws IOException
Deserializes an attribute map from a given data source.

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