public static class FieldAnnotationAwareSerializer.Factory extends Object implements com.esotericsoftware.kryo.factories.SerializerFactory
FieldAnnotationAwareSerializer.| Constructor and Description |
|---|
Factory(Collection<Class<? extends Annotation>> marked,
boolean disregarding)
Creates a new factory.
|
| Modifier and Type | Method and Description |
|---|---|
com.esotericsoftware.kryo.Serializer<?> |
makeSerializer(com.esotericsoftware.kryo.Kryo kryo,
Class<?> type) |
public Factory(Collection<Class<? extends Annotation>> marked, boolean disregarding)
FieldAnnotationAwareSerializer.FieldAnnotationAwareSerializer(
com.esotericsoftware.kryo.Kryo, Class, java.util.Collection, boolean)
for additional information on the constructor parameters.marked - The annotations that will be considered of the resulting converter.disregarding - If true, the serializer will ignore all annotated fields,
if set to false it will exclusively look at annotated fields.public com.esotericsoftware.kryo.Serializer<?> makeSerializer(com.esotericsoftware.kryo.Kryo kryo,
Class<?> type)
makeSerializer in interface com.esotericsoftware.kryo.factories.SerializerFactoryCopyright © 2010–2015. All rights reserved.