ConverterRepository¶
-
public interface
ConverterRepository
<WireType>¶ Maintains a collection of converters for a specific wire format. Each converter has a wire type describing the actual message that is written on the wire and a data type that indicates which data it can serialize on the wire.
- Author
swrede
- Parameters
<WireType> – the kind of wire registered converters can deal with
Methods¶
addConverter¶
getConvertersForDeserialization¶
-
ConverterSelectionStrategy<WireType>
getConvertersForDeserialization
()¶ This method queries the converter map for deseralizable data types and returns an UnambiguousConverterMap for the chosen WireType to the caller.
- Returns
ConverterSelectionStrategy object for deserialization
getConvertersForSerialization¶
-
ConverterSelectionStrategy<WireType>
getConvertersForSerialization
()¶ This method queries the converter map for seralizable data types and returns an UnambiguousConverterMap for the chosen WireType to the caller.
- Returns
ConverterSelectionStrategy object for serialization