public interface SerDeserializerProvider
This plugin point allows instances to SerDeserializer to be created.
Implementations of this interface can introspect the bean type when choosing a deserializer.
This allows deserializers to be provided that can handle multiple bean types, for example all beans
in a particular package, any bean with a particular supertype or with a particular annotation.
In the simple case where an exact match is needed, the class implementing SerDeserializer
can also implement SerDeserializerProvider with a singleton constant instance.
| Modifier and Type | Method | Description |
|---|---|---|
SerDeserializer |
findDeserializer(java.lang.Class<?> beanType) |
Finds the deserializer for the specified type.
|
SerDeserializer findDeserializer(java.lang.Class<?> beanType)
If the type is not known, the implementation must return null.
beanType - the type being processed, not nullCopyright © 2007–2018 Joda.org. All rights reserved.