public interface PropertyCodecRegistry
CodecRegistry
that generates codecs for PojoCodec
.
This is a specialized codec registry that retrieves codecs which account for type parameters associated with
a property. In particular this should only be used to add support for custom container types like optionals.
It's only applicable for use by PojoCodec
registered through PojoCodecProvider.builder()
.
Modifier and Type | Method and Description |
---|---|
<T> Codec<T> |
get(TypeWithTypeParameters<T> type)
Gets a
Codec for the given Class. |
<T> Codec<T> get(TypeWithTypeParameters<T> type)
Codec
for the given Class.T
- the class typetype
- the Class associated type parameters for this property for which to get a CodecCodecConfigurationException
- if the registry does not contain a codec for the given class.Copyright © 2010 - 2020 Adobe. All Rights Reserved