Class DeserializerFactoryConfig

  • All Implemented Interfaces:
    java.io.Serializable

    public class DeserializerFactoryConfig
    extends java.lang.Object
    implements java.io.Serializable
    Configuration settings container class for DeserializerFactory.
    See Also:
    Serialized Form
    • Constructor Detail

      • DeserializerFactoryConfig

        public DeserializerFactoryConfig()
        Constructor for creating basic configuration with no additional handlers.
    • 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 provide ValueInstantiators 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()