org.deckfour.xes.model.buffered
Class XAttributeMapSerializerImpl
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XAttributeMapSerializerImpl
public XAttributeMapSerializerImpl()
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