public class CoreXMLDeserializers extends Deserializers.Base
Modifier and Type | Class and Description |
---|---|
static class |
CoreXMLDeserializers.Std
Combo-deserializer that supports deserialization of somewhat optional
javax.xml types
QName , Duration and XMLGregorianCalendar . |
Deserializers.Base
Constructor and Description |
---|
CoreXMLDeserializers() |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
findBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc)
Method called to locate deserializer for specified value type which does not belong to any other
category (not an Enum, Collection, Map, Array, reference value or tree node)
|
boolean |
hasDeserializerFor(DeserializationConfig config,
java.lang.Class<?> valueType)
Method that may be called to check whether this deserializer provider would provide
deserializer for values of given type, without attempting to construct (and possibly
fail in some cases) actual deserializer.
|
findArrayDeserializer, findCollectionDeserializer, findCollectionLikeDeserializer, findEnumDeserializer, findMapDeserializer, findMapLikeDeserializer, findReferenceDeserializer, findTreeNodeDeserializer
public JsonDeserializer<?> findBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc)
Deserializers
findBeanDeserializer
in interface Deserializers
findBeanDeserializer
in class Deserializers.Base
type
- Bean type to deserializeconfig
- Configuration in effectbeanDesc
- Definition of the enumeration type that contains class annotations and
other information typically needed for building deserializerspublic boolean hasDeserializerFor(DeserializationConfig config, java.lang.Class<?> valueType)
Deserializers
Note: implementations should take care NOT to claim supporting types that they do not recognize as this could to incorrect assumption of safe support by caller.
Method added in Jackson 2.13 now that Java 8 default implementations are available for use with interface definitions.
Copyright © 2010 - 2023 Adobe. All Rights Reserved