Class DeserializerFactoryConfig
- java.lang.Object
-
- com.fasterxml.jackson.databind.cfg.DeserializerFactoryConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class DeserializerFactoryConfig extends java.lang.Object implements java.io.Serializable
Configuration settings container class forDeserializerFactory
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeserializerFactoryConfig()
Constructor for creating basic configuration with no additional handlers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<AbstractTypeResolver>
abstractTypeResolvers()
java.lang.Iterable<BeanDeserializerModifier>
deserializerModifiers()
java.lang.Iterable<Deserializers>
deserializers()
boolean
hasAbstractTypeResolvers()
boolean
hasDeserializerModifiers()
boolean
hasDeserializers()
boolean
hasKeyDeserializers()
boolean
hasValueInstantiators()
java.lang.Iterable<KeyDeserializers>
keyDeserializers()
java.lang.Iterable<ValueInstantiators>
valueInstantiators()
DeserializerFactoryConfig
withAbstractTypeResolver(AbstractTypeResolver resolver)
Fluent/factory method used to construct a configuration object that has same configuration as this instance plus one additional abstract type resolver.DeserializerFactoryConfig
withAdditionalDeserializers(Deserializers additional)
Fluent/factory method used to construct a configuration object that has same deserializer providers as this instance, plus one specified as argument.DeserializerFactoryConfig
withAdditionalKeyDeserializers(KeyDeserializers additional)
Fluent/factory method used to construct a configuration object that has same key deserializer providers as this instance, plus one specified as argument.DeserializerFactoryConfig
withDeserializerModifier(BeanDeserializerModifier modifier)
Fluent/factory method used to construct a configuration object that has same configuration as this instance plus one additional deserialiazer modifier.DeserializerFactoryConfig
withValueInstantiators(ValueInstantiators instantiators)
Fluent/factory method used to construct a configuration object that has same configuration as this instance plus specified additional value instantiator provider object.
-
-
-
Method Detail
-
withAdditionalDeserializers
public DeserializerFactoryConfig withAdditionalDeserializers(Deserializers additional)
Fluent/factory method used to construct a configuration object that has same deserializer providers as this instance, plus one specified as argument. Additional provider will be added before existing ones, meaning it has priority over existing definitions.
-
withAdditionalKeyDeserializers
public DeserializerFactoryConfig withAdditionalKeyDeserializers(KeyDeserializers additional)
Fluent/factory method used to construct a configuration object that has same key deserializer providers as this instance, plus one specified as argument. Additional provider will be added before existing ones, meaning it has priority over existing definitions.
-
withDeserializerModifier
public DeserializerFactoryConfig withDeserializerModifier(BeanDeserializerModifier modifier)
Fluent/factory method used to construct a configuration object that has same configuration as this instance plus one additional deserialiazer modifier. Added modifier has the highest priority (that is, it gets called before any already registered modifier).
-
withAbstractTypeResolver
public DeserializerFactoryConfig withAbstractTypeResolver(AbstractTypeResolver resolver)
Fluent/factory method used to construct a configuration object that has same configuration as this instance plus one additional abstract type resolver. Added resolver has the highest priority (that is, it gets called before any already registered resolver).
-
withValueInstantiators
public DeserializerFactoryConfig withValueInstantiators(ValueInstantiators instantiators)
Fluent/factory method used to construct a configuration object that has same configuration as this instance plus specified additional value instantiator provider object. Added instantiator provider has the highest priority (that is, it gets called before any already registered resolver).- Parameters:
instantiators
- Object that can provideValueInstantiator
s for constructing POJO values during deserialization
-
hasDeserializers
public boolean hasDeserializers()
-
hasKeyDeserializers
public boolean hasKeyDeserializers()
-
hasDeserializerModifiers
public boolean hasDeserializerModifiers()
-
hasAbstractTypeResolvers
public boolean hasAbstractTypeResolvers()
-
hasValueInstantiators
public boolean hasValueInstantiators()
-
deserializers
public java.lang.Iterable<Deserializers> deserializers()
-
keyDeserializers
public java.lang.Iterable<KeyDeserializers> keyDeserializers()
-
deserializerModifiers
public java.lang.Iterable<BeanDeserializerModifier> deserializerModifiers()
-
abstractTypeResolvers
public java.lang.Iterable<AbstractTypeResolver> abstractTypeResolvers()
-
valueInstantiators
public java.lang.Iterable<ValueInstantiators> valueInstantiators()
-
-