Annotation Type CollectionSerializer.BindCollection
-
@Retention(RUNTIME) @Target(FIELD) public static @interface CollectionSerializer.BindCollection
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class
elementClass
boolean
elementsCanBeNull
Class<? extends Serializer>
elementSerializer
The element serializer class, which will be created using theelementSerializerFactory()
.Class<? extends SerializerFactory>
elementSerializerFactory
The factory used to create the element serializer.
-
-
-
Element Detail
-
elementClass
Class elementClass
- Default:
- java.lang.Object.class
-
-
-
elementSerializer
Class<? extends Serializer> elementSerializer
The element serializer class, which will be created using theelementSerializerFactory()
. Can be omitted if the serializer factory knows what type of serializer to create.- Default:
- com.esotericsoftware.kryo.Serializer.class
-
-
-
elementSerializerFactory
Class<? extends SerializerFactory> elementSerializerFactory
The factory used to create the element serializer.- Default:
- com.esotericsoftware.kryo.SerializerFactory.class
-
-