Class DefaultSerializerProvider.Impl
java.lang.Object
com.fasterxml.jackson.databind.DatabindContext
com.fasterxml.jackson.databind.SerializerProvider
com.fasterxml.jackson.databind.ser.DefaultSerializerProvider
com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.Impl
- All Implemented Interfaces:
Serializable
- Enclosing class:
DefaultSerializerProvider
Concrete implementation that defines factory method(s),
defined as final.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class DefaultSerializerProvider
DefaultSerializerProvider.Impl -
Field Summary
Fields inherited from class DefaultSerializerProvider
_generator, _objectIdGenerators, _seenObjectIdsFields inherited from class SerializerProvider
_attributes, _config, _dateFormat, _keySerializer, _knownSerializers, _nullKeySerializer, _nullValueSerializer, _serializationView, _serializerCache, _serializerFactory, _stdNullValueSerializer, _unknownTypeSerializer, CACHE_UNKNOWN_MAPPINGS, DEFAULT_NULL_KEY_SERIALIZER, DEFAULT_UNKNOWN_SERIALIZER -
Constructor Summary
ConstructorsModifierConstructorDescriptionImpl()protectedprotectedImpl(SerializerProvider src, SerializationConfig config, SerializerFactory f) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Method needed to ensure thatObjectMapper.copy()will work properly; specifically, that caches are cleared, but settings will otherwise remain identical; and that no sharing of state occurs.createInstance(SerializationConfig config, SerializerFactory jsf) Method that sub-classes need to implement: used to create a non-blueprint instances from the blueprint.Fluent factory method used for constructing a new instance with cache instances provided byCacheProvider.Methods inherited from class DefaultSerializerProvider
_createObjectIdMap, _serializeNull, acceptJsonFormatVisitor, cachedSerializersCount, findObjectId, flushCachedSerializers, generateJsonSchema, getGenerator, hasSerializerFor, includeFilterInstance, includeFilterSuppressNulls, serializePolymorphic, serializerInstance, serializeValue, serializeValue, serializeValueMethods inherited from class SerializerProvider
_createAndCacheUntypedSerializer, _createAndCacheUntypedSerializer, _createUntypedSerializer, _dateFormat, _findExplicitUntypedSerializer, _handleContextualResolvable, _handleResolvable, _reportIncompatibleRootType, bufferForValueConversion, bufferForValueConversion, canOverrideAccessModifiers, constructSpecializedType, defaultSerializeDateKey, defaultSerializeDateKey, defaultSerializeDateValue, defaultSerializeDateValue, defaultSerializeField, defaultSerializeNull, defaultSerializeValue, findContentValueSerializer, findContentValueSerializer, findKeySerializer, findKeySerializer, findNullKeySerializer, findNullValueSerializer, findPrimaryPropertySerializer, findPrimaryPropertySerializer, findTypedValueSerializer, findTypedValueSerializer, findTypeSerializer, findValueSerializer, findValueSerializer, findValueSerializer, findValueSerializer, getActiveView, getAnnotationIntrospector, getAttribute, getConfig, getDatatypeFeatures, getDefaultNullKeySerializer, getDefaultNullValueSerializer, getDefaultPropertyFormat, getDefaultPropertyInclusion, getFilterProvider, getLocale, getTimeZone, getTypeFactory, getUnknownTypeSerializer, handlePrimaryContextualization, handleSecondaryContextualization, hasSerializationFeatures, invalidTypeIdException, isEnabled, isEnabled, isEnabled, isUnknownTypeSerializer, mappingException, mappingException, reportBadDefinition, reportBadDefinition, reportBadDefinition, reportBadPropertyDefinition, reportBadTypeDefinition, reportMappingProblem, reportMappingProblem, setAttribute, setDefaultKeySerializer, setNullKeySerializer, setNullValueSerializerMethods inherited from class DatabindContext
_colonConcat, _desc, _format, _quotedString, _throwNotASubtype, _throwSubtypeClassNotAllowed, _throwSubtypeNameNotAllowed, _truncate, constructType, converterInstance, objectIdGeneratorInstance, objectIdResolverInstance, reportBadDefinition, resolveAndValidateSubType, resolveSubType
-
Constructor Details
-
Impl
public Impl() -
Impl
-
Impl
-
Impl
- Since:
- 2.16
-
-
Method Details
-
copy
Description copied from class:DefaultSerializerProviderMethod needed to ensure thatObjectMapper.copy()will work properly; specifically, that caches are cleared, but settings will otherwise remain identical; and that no sharing of state occurs.- Overrides:
copyin classDefaultSerializerProvider
-
createInstance
public DefaultSerializerProvider.Impl createInstance(SerializationConfig config, SerializerFactory jsf) Description copied from class:DefaultSerializerProviderMethod that sub-classes need to implement: used to create a non-blueprint instances from the blueprint. This is needed to retain state during serialization.- Specified by:
createInstancein classDefaultSerializerProvider
-
withCaches
Description copied from class:DefaultSerializerProviderFluent factory method used for constructing a new instance with cache instances provided byCacheProvider.- Specified by:
withCachesin classDefaultSerializerProvider
-