Package com.esotericsoftware.kryo
Class SerializerFactory.CompatibleFieldSerializerFactory
- java.lang.Object
-
- com.esotericsoftware.kryo.SerializerFactory.BaseSerializerFactory<CompatibleFieldSerializer>
-
- com.esotericsoftware.kryo.SerializerFactory.CompatibleFieldSerializerFactory
-
- All Implemented Interfaces:
SerializerFactory<CompatibleFieldSerializer>
- Enclosing interface:
- SerializerFactory<T extends Serializer>
public static class SerializerFactory.CompatibleFieldSerializerFactory extends SerializerFactory.BaseSerializerFactory<CompatibleFieldSerializer>
A serializer factory that returns new, configuredCompatibleFieldSerializer
instances.- Author:
- Nathan Sweet
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.esotericsoftware.kryo.SerializerFactory
SerializerFactory.BaseSerializerFactory<T extends Serializer>, SerializerFactory.CompatibleFieldSerializerFactory, SerializerFactory.FieldSerializerFactory, SerializerFactory.ReflectionSerializerFactory<T extends Serializer>, SerializerFactory.SingletonSerializerFactory<T extends Serializer>, SerializerFactory.TaggedFieldSerializerFactory, SerializerFactory.VersionFieldSerializerFactory
-
-
Constructor Summary
Constructors Constructor Description CompatibleFieldSerializerFactory()
CompatibleFieldSerializerFactory(CompatibleFieldSerializer.CompatibleFieldSerializerConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompatibleFieldSerializer.CompatibleFieldSerializerConfig
getConfig()
CompatibleFieldSerializer
newSerializer(Kryo kryo, Class type)
Creates and configures a new serializer.-
Methods inherited from class com.esotericsoftware.kryo.SerializerFactory.BaseSerializerFactory
isSupported
-
-
-
-
Constructor Detail
-
CompatibleFieldSerializerFactory
public CompatibleFieldSerializerFactory()
-
CompatibleFieldSerializerFactory
public CompatibleFieldSerializerFactory(CompatibleFieldSerializer.CompatibleFieldSerializerConfig config)
-
-
Method Detail
-
getConfig
public CompatibleFieldSerializer.CompatibleFieldSerializerConfig getConfig()
-
newSerializer
public CompatibleFieldSerializer newSerializer(Kryo kryo, Class type)
Description copied from interface:SerializerFactory
Creates and configures a new serializer.- Parameters:
kryo
- The Kryo instance that will be used with the new serializer.type
- The type of the object that the serializer will serialize.
-
-