org.joda.beans.ser
Interface SerDeserializerProvider


public interface SerDeserializerProvider

Provides access to deserializers.

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.


Method Summary
 SerDeserializer findDeserializer(Class<?> beanType)
          Finds the deserializer for the specified type.
 

Method Detail

findDeserializer

SerDeserializer findDeserializer(Class<?> beanType)
Finds the deserializer for the specified type.

If the type is not known, the implementation must return null.

Parameters:
beanType - the type being processed, not null
Returns:
the deserializer, null if this provider does not support the type


Copyright © 2007–2017 Joda.org. All rights reserved.