public class ValueCodecProvider extends java.lang.Object implements CodecProvider
| Constructor and Description |
|---|
ValueCodecProvider()
A provider of Codecs for simple value types.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
<T> Codec<T> |
get(java.lang.Class<T> clazz,
CodecRegistry registry)
Get a
Codec using the given context, which includes, most importantly, the Class for which a Codec is required. |
int |
hashCode() |
public ValueCodecProvider()
public <T> Codec<T> get(java.lang.Class<T> clazz, CodecRegistry registry)
CodecProviderCodec using the given context, which includes, most importantly, the Class for which a Codec is required.get in interface CodecProviderT - the type of the class for which a Codec is requiredclazz - the Class for which to get a Codecregistry - the registry to use for resolving dependent Codec instancespublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved