Package org.deckfour.xes.model.buffered
Class XAttributeMapSerializerImpl
- java.lang.Object
-
- org.deckfour.xes.model.buffered.XAttributeMapSerializerImpl
-
- All Implemented Interfaces:
XAttributeMapSerializer
public class XAttributeMapSerializerImpl extends java.lang.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
Constructors Constructor Description XAttributeMapSerializerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XAttributeMapdeserialize(java.io.DataInput in)Deserializes an attribute map from a given data source.voidserialize(XAttributeMap map, java.io.DataOutput out)Serializes an attribute map to the given output.
-
-
-
Method Detail
-
serialize
public void serialize(XAttributeMap map, java.io.DataOutput out) throws java.io.IOException
Description copied from interface:XAttributeMapSerializerSerializes an attribute map to the given output.- Specified by:
serializein interfaceXAttributeMapSerializer- Parameters:
map- Attribute map to be serialized.out- Data output interface.- Throws:
java.io.IOException
-
deserialize
public XAttributeMap deserialize(java.io.DataInput in) throws java.io.IOException
Description copied from interface:XAttributeMapSerializerDeserializes an attribute map from a given data source.- Specified by:
deserializein interfaceXAttributeMapSerializer- Parameters:
in- Data input interface to read from.- Returns:
- The deserialized attribute map.
- Throws:
java.io.IOException
-
-