|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fasterxml.jackson.databind.cfg.DeserializerFactoryConfig
public class DeserializerFactoryConfig
Configuration settings container class for DeserializerFactory
.
Field Summary | |
---|---|
protected AbstractTypeResolver[] |
_abstractTypeResolvers
List of objects that may be able to resolve abstract types to concrete types. |
protected Deserializers[] |
_additionalDeserializers
List of providers for additional deserializers, checked before considering default basic or bean deserializers. |
protected KeyDeserializers[] |
_additionalKeyDeserializers
List of providers for additional key deserializers, checked before considering standard key deserializers. |
protected BeanDeserializerModifier[] |
_modifiers
List of modifiers that can change the way BeanDeserializer instances
are configured and constructed. |
protected ValueInstantiators[] |
_valueInstantiators
List of objects that know how to create instances of POJO types; possibly using custom construction (non-annoted constructors; factory methods external to value type etc). |
protected static AbstractTypeResolver[] |
NO_ABSTRACT_TYPE_RESOLVERS
|
protected static Deserializers[] |
NO_DESERIALIZERS
|
protected static KeyDeserializers[] |
NO_KEY_DESERIALIZERS
|
protected static BeanDeserializerModifier[] |
NO_MODIFIERS
|
protected static ValueInstantiators[] |
NO_VALUE_INSTANTIATORS
|
Constructor Summary | |
---|---|
|
DeserializerFactoryConfig()
Constructor for creating basic configuration with no additional handlers. |
protected |
DeserializerFactoryConfig(Deserializers[] allAdditionalDeserializers,
KeyDeserializers[] allAdditionalKeyDeserializers,
BeanDeserializerModifier[] modifiers,
AbstractTypeResolver[] atr,
ValueInstantiators[] vi)
Copy-constructor that will create an instance that contains defined set of additional deserializer providers. |
Method Summary | |
---|---|
Iterable<AbstractTypeResolver> |
abstractTypeResolvers()
|
Iterable<BeanDeserializerModifier> |
deserializerModifiers()
|
Iterable<Deserializers> |
deserializers()
|
boolean |
hasAbstractTypeResolvers()
|
boolean |
hasDeserializerModifiers()
|
boolean |
hasDeserializers()
|
boolean |
hasKeyDeserializers()
|
boolean |
hasValueInstantiators()
|
Iterable<KeyDeserializers> |
keyDeserializers()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Deserializers[] NO_DESERIALIZERS
protected static final KeyDeserializers[] NO_KEY_DESERIALIZERS
protected static final BeanDeserializerModifier[] NO_MODIFIERS
protected static final AbstractTypeResolver[] NO_ABSTRACT_TYPE_RESOLVERS
protected static final ValueInstantiators[] NO_VALUE_INSTANTIATORS
protected final Deserializers[] _additionalDeserializers
protected final KeyDeserializers[] _additionalKeyDeserializers
protected final BeanDeserializerModifier[] _modifiers
BeanDeserializer
instances
are configured and constructed.
protected final AbstractTypeResolver[] _abstractTypeResolvers
protected final ValueInstantiators[] _valueInstantiators
Constructor Detail |
---|
public DeserializerFactoryConfig()
protected DeserializerFactoryConfig(Deserializers[] allAdditionalDeserializers, KeyDeserializers[] allAdditionalKeyDeserializers, BeanDeserializerModifier[] modifiers, AbstractTypeResolver[] atr, ValueInstantiators[] vi)
Method Detail |
---|
public DeserializerFactoryConfig withAdditionalDeserializers(Deserializers additional)
public DeserializerFactoryConfig withAdditionalKeyDeserializers(KeyDeserializers additional)
public DeserializerFactoryConfig withDeserializerModifier(BeanDeserializerModifier modifier)
public DeserializerFactoryConfig withAbstractTypeResolver(AbstractTypeResolver resolver)
public DeserializerFactoryConfig withValueInstantiators(ValueInstantiators instantiators)
instantiators
- Object that can provide ValueInstantiator
s for
constructing POJO values during deserializationpublic boolean hasDeserializers()
public boolean hasKeyDeserializers()
public boolean hasDeserializerModifiers()
public boolean hasAbstractTypeResolvers()
public boolean hasValueInstantiators()
public Iterable<Deserializers> deserializers()
public Iterable<KeyDeserializers> keyDeserializers()
public Iterable<BeanDeserializerModifier> deserializerModifiers()
public Iterable<AbstractTypeResolver> abstractTypeResolvers()
public Iterable<ValueInstantiators> valueInstantiators()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |