The SerializerAware interface provides the ability to configure a
Serializer to be used by the implementing object when serializing or
deserializing objects.
Retrieve the context Serializer for this object. The context Serializer
is provided by the creator of the object for use by the object when
serializing or deserializing objects.
Specify the context Serializer for this object. The context Serializer
can be set when the object is created, and allows the creator to
provide the appropriate Serializer to be used by the object when
serializing or deserializing objects.
Parameters:
serializer - the context Serializer for this object