public static class BeanDeserializerFactory.ConfigImpl extends DeserializerFactory.Config
Modifier and Type | Field and Description |
---|---|
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 KeyDeserializers[] |
NO_KEY_DESERIALIZERS |
protected static BeanDeserializerModifier[] |
NO_MODIFIERS |
protected static ValueInstantiators[] |
NO_VALUE_INSTANTIATORS |
Modifier | Constructor and Description |
---|---|
|
BeanDeserializerFactory.ConfigImpl()
Constructor for creating basic configuration with no additional
handlers.
|
protected |
BeanDeserializerFactory.ConfigImpl(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.
|
Modifier and Type | Method and Description |
---|---|
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() |
DeserializerFactory.Config |
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.
|
DeserializerFactory.Config |
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.
|
DeserializerFactory.Config |
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.
|
DeserializerFactory.Config |
withDeserializerModifier(BeanDeserializerModifier modifier)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus one additional
deserialiazer modifier.
|
DeserializerFactory.Config |
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.
|
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
public BeanDeserializerFactory.ConfigImpl()
protected BeanDeserializerFactory.ConfigImpl(Deserializers[] allAdditionalDeserializers, KeyDeserializers[] allAdditionalKeyDeserializers, BeanDeserializerModifier[] modifiers, AbstractTypeResolver[] atr, ValueInstantiators[] vi)
public DeserializerFactory.Config withAdditionalDeserializers(Deserializers additional)
DeserializerFactory.Config
withAdditionalDeserializers
in class DeserializerFactory.Config
public DeserializerFactory.Config withAdditionalKeyDeserializers(KeyDeserializers additional)
DeserializerFactory.Config
withAdditionalKeyDeserializers
in class DeserializerFactory.Config
public DeserializerFactory.Config withDeserializerModifier(BeanDeserializerModifier modifier)
DeserializerFactory.Config
withDeserializerModifier
in class DeserializerFactory.Config
public DeserializerFactory.Config withAbstractTypeResolver(AbstractTypeResolver resolver)
DeserializerFactory.Config
withAbstractTypeResolver
in class DeserializerFactory.Config
public DeserializerFactory.Config withValueInstantiators(ValueInstantiators instantiators)
DeserializerFactory.Config
withValueInstantiators
in class DeserializerFactory.Config
instantiators
- Object that can provide ValueInstantiator
s for
constructing POJO values during deserializationpublic boolean hasDeserializers()
hasDeserializers
in class DeserializerFactory.Config
public boolean hasKeyDeserializers()
hasKeyDeserializers
in class DeserializerFactory.Config
public boolean hasDeserializerModifiers()
hasDeserializerModifiers
in class DeserializerFactory.Config
public boolean hasAbstractTypeResolvers()
hasAbstractTypeResolvers
in class DeserializerFactory.Config
public boolean hasValueInstantiators()
hasValueInstantiators
in class DeserializerFactory.Config
public Iterable<Deserializers> deserializers()
deserializers
in class DeserializerFactory.Config
public Iterable<KeyDeserializers> keyDeserializers()
keyDeserializers
in class DeserializerFactory.Config
public Iterable<BeanDeserializerModifier> deserializerModifiers()
deserializerModifiers
in class DeserializerFactory.Config
public Iterable<AbstractTypeResolver> abstractTypeResolvers()
abstractTypeResolvers
in class DeserializerFactory.Config
public Iterable<ValueInstantiators> valueInstantiators()
valueInstantiators
in class DeserializerFactory.Config