java.lang.Object
tools.jackson.databind.cfg.MapperBuilderState
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonMapper.Builder.StateImpl
Interface for State object used for preserving initial state of a
MapperBuilder before modules are configured and resulting
ObjectMapper isn't constructed.
It is passed to mapper to allow "re-building" via newly created builder.
Note that JDK serialization is supported by switching this object in place of mapper. This requires some acrobatics on return direction.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AbstractTypeResolver[]protected final BaseSettingsprotected final ClassIntrospectorprotected final CoercionConfigsprotected final ConfigOverridesprotected final DatatypeFeaturesprotected final ContextAttributesprotected final Class<?>Default view to use for deserialization, if any.protected final tools.jackson.core.PrettyPrinterprotected final Class<?>Default view to use for serialization, if any.protected final intprotected final DeserializationContextsprotected final DeserializerFactoryprotected final FilterProviderprotected final intprotected final intprotected final InjectableValuesprotected final longprotected final MixInHandlerprotected final JacksonModule[]Modules registered in registration order, if any; `null` if none.protected final LinkedNode<DeserializationProblemHandler>Optional handlers that application may register to try to work-around various problem situations during deserializationprotected final intprotected final SerializationContextsprotected final SerializerFactoryprotected final tools.jackson.core.TokenStreamFactoryprotected final intprotected final intprotected final SubtypeResolverprotected final TypeFactoryprotected final TypeResolverProvider -
Constructor Summary
ConstructorsConstructorDescriptionMapperBuilderState(MapperBuilder<?, ?> src) Constructor called when "saving" state of mapper, to be used as base forObjectMapper.rebuild()functionality. -
Method Summary
-
Field Details
-
_baseSettings
-
_streamFactory
protected final tools.jackson.core.TokenStreamFactory _streamFactory -
_configOverrides
-
_coercionConfigs
-
_mapperFeatures
protected final long _mapperFeatures -
_serFeatures
protected final int _serFeatures -
_deserFeatures
protected final int _deserFeatures -
_streamReadFeatures
protected final int _streamReadFeatures -
_streamWriteFeatures
protected final int _streamWriteFeatures -
_formatReadFeatures
protected final int _formatReadFeatures -
_formatWriteFeatures
protected final int _formatWriteFeatures -
_datatypeFeatures
-
_modules
Modules registered in registration order, if any; `null` if none. Does not containnullvalues. -
_typeFactory
-
_classIntrospector
-
_typeResolverProvider
-
_subtypeResolver
-
_mixInHandler
-
_serializationContexts
-
_serializerFactory
-
_filterProvider
-
_defaultPrettyPrinter
protected final tools.jackson.core.PrettyPrinter _defaultPrettyPrinter -
_deserializationContexts
-
_deserializerFactory
-
_injectableValues
-
_problemHandlers
Optional handlers that application may register to try to work-around various problem situations during deserialization -
_abstractTypeResolvers
-
_defaultAttributes
-
_defaultSerializationView
Default view to use for serialization, if any.- Since:
- 3.1
-
_defaultDeserializationView
Default view to use for deserialization, if any.- Since:
- 3.1
-
-
Constructor Details
-
MapperBuilderState
Constructor called when "saving" state of mapper, to be used as base forObjectMapper.rebuild()functionality.
-
-
Method Details
-
modules
-
readResolve
Method required to support JDK deserialization; made `abstract` here to ensure sub-classes must implement it.
-