public interface TypeSerializerFactory
When serializers are Serializer.register(Class, Class) registered} with a Serializer instance.
a serializer instance may be created more than once. Users should implement a custom serializer factory when setup
needs to be done each type a TypeSerializer is created.
| Modifier and Type | Method and Description |
|---|---|
TypeSerializer<?> |
createSerializer(Class<?> type)
Creates a new serializer.
|
TypeSerializer<?> createSerializer(Class<?> type)
type - The serializable type.Copyright © 2013–2015. All rights reserved.