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 Detail

      • serialize

        void serialize​(XAttributeMap map,
                       java.io.DataOutput out)
                throws java.io.IOException
        Serializes an attribute map to the given output.
        Parameters:
        map - Attribute map to be serialized.
        out - Data output interface.
        Throws:
        java.io.IOException
      • deserialize

        XAttributeMap deserialize​(java.io.DataInput in)
                           throws java.io.IOException
        Deserializes an attribute map from a given data source.
        Parameters:
        in - Data input interface to read from.
        Returns:
        The deserialized attribute map.
        Throws:
        java.io.IOException