public class DefaultTypeSerializerFactory extends Object implements TypeSerializerFactory
The default serializer factory constructs TypeSerializer instances given a serializer Class. The serializer
must implement a default no-argument constructor.
| Constructor and Description |
|---|
DefaultTypeSerializerFactory(Class<? extends TypeSerializer> type) |
| Modifier and Type | Method and Description |
|---|---|
TypeSerializer<?> |
createSerializer(Class<?> type)
Creates a new serializer.
|
public DefaultTypeSerializerFactory(Class<? extends TypeSerializer> type)
public TypeSerializer<?> createSerializer(Class<?> type)
TypeSerializerFactorycreateSerializer in interface TypeSerializerFactorytype - The serializable type.Copyright © 2013–2015. All rights reserved.