| Modifier and Type | Field and Description |
|---|---|
| protected final ContextAttributes | _attributes
Contextual attributes accessible (get and set) during processing, on per-call basis. |
| protected final ConfigOverrides | _configOverrides
Configuration overrides to apply, keyed by type of property. |
| protected final DatatypeFeatures | _datatypeFeatures
Set of |
| protected final SimpleMixInResolver | _mixIns
Mix-in annotation mappings to use, if any: immutable, cannot be changed once defined. |
| protected final PropertyName | _rootName
Explicitly defined root name to use, if any; if empty String, will disable root-name wrapping; if null, will use defaults |
| protected final RootNameLookup | _rootNames
Simple cache used for finding out possible root name for root name wrapping. |
| protected final SubtypeResolver | _subtypeResolver
Registered concrete subtypes that can be used instead of (or in addition to) ones declared using annotations. |
| protected final Class | _view
View to use for filtering out properties to serialize or deserialize. |
| private static final long | |
| private static final long | |
| protected static final ConfigOverride |
| Access | Constructor and Description |
|---|---|
| protected | MapperConfigBase(BaseSettings base, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides, DatatypeFeatures datatypeFeatures)
Constructor used when creating a new instance (compared to that of creating fluent copies) |
| protected | MapperConfigBase(MapperConfigBase<CFG, T> src, SubtypeResolver str, SimpleMixInResolver mixins, RootNameLookup rootNames, ConfigOverrides configOverrides)
Copy constructor usually called to make a copy for use by ObjectMapper that is copied. |
| protected | MapperConfigBase(MapperConfigBase<CFG, T> src)
Pass-through constructor used when no changes are needed to the base class. |
| protected | |
| protected | |
| protected | |
| protected | |
| protected | |
| protected | |
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected DatatypeFeatures | |
| protected abstract T | |
| protected abstract T | |
| protected abstract T | |
| public ClassIntrospector. | copy()
Implements com. ObjectMapper instance, and one that should not be connected
to this instance, if resolver has mutable state.
|
| public final ConfigOverride | findConfigOverride(Class<?> type)
Implements abstract com. ConfigOverride to use for
properties of given type, if any exist; or return `null` if not.
|
| public final Class | findMixInClassFor(Class<?> cls)
Implements com. |
| public PropertyName | findRootName(JavaType rootType)
Implements abstract com. |
| public PropertyName | findRootName(Class<?> rawRootType)
Implements abstract com. |
| public final Class | getActiveView()
Implements abstract com. |
| public final ContextAttributes | getAttributes()
Implements abstract com. |
| public final ConfigOverride | getConfigOverride(Class<?> type)
Implements abstract com. ConfigOverride to use for
properties of given type, if any exist; or if none, return an immutable
"empty" instance with no overrides.
|
| public final DatatypeFeatures | getDatatypeFeatures()
Implements abstract com. |
| public final JsonInclude. | getDefaultInclusion(Class<?>
Type of the instance containing the targeted property. baseType, Class<?> Type of the property to look up inclusion setting for. propertyType)Implements abstract com. |
| public Boolean | getDefaultMergeable()
Implements abstract com. |
| public Boolean | getDefaultMergeable(Class<?> baseType)
Implements abstract com. |
| public final JsonFormat. | getDefaultPropertyFormat(Class<?> type)
Implements abstract com. |
| public final JsonIgnoreProperties. | getDefaultPropertyIgnorals(Class<?> type)
Implements abstract com. findConfigOverride(Class)).
|
| public final JsonIgnoreProperties. | getDefaultPropertyIgnorals(Class<?> baseType, AnnotatedClass actualClass)
Implements abstract com. AnnotatedClass) or through
"config overrides".
|
| public final JsonInclude. | getDefaultPropertyInclusion()
Implements abstract com. |
| public final JsonInclude. | getDefaultPropertyInclusion(Class<?> baseType)
Implements abstract com. |
| public final JsonIncludeProperties. | getDefaultPropertyInclusions(Class<?> baseType, AnnotatedClass actualClass)
Implements abstract com. AnnotatedClass).
|
| public final JsonSetter. | getDefaultSetterInfo()
Implements abstract com. |
| public final VisibilityChecker | getDefaultVisibilityChecker()
Implements abstract com. |
| public final VisibilityChecker | getDefaultVisibilityChecker(Class<?> baseType, AnnotatedClass actualClass)
Implements abstract com. |
| public final PropertyName | |
| public final String | |
| public final SubtypeResolver | getSubtypeResolver()
Implements abstract com. |
| public final int | mixInCount()
Test-only method -- does not reflect possibly open-ended set that external mix-in resolver might provide. |
| public final T | with(MapperFeature... features)
Implements abstract com. |
| public final T | with(MapperFeature feature, boolean state)
Implements abstract com. |
| public final T | with(DatatypeFeature feature)
Fluent factory method that will return a configuration
object instance with specified feature enabled: this may be
|
| public final T | with(DatatypeFeature feature, boolean state)
Fluent factory method that will construct and return a new configuration object instance with specified features disabled. |
| public final T | with(AnnotationIntrospector ai)
Method for constructing and returning a new instance with different
|
| public final T | with(ClassIntrospector ci)
Method for constructing and returning a new instance with different
|
| public abstract T | with(ContextAttributes attrs)
Method for constructing an instance that has specified contextual attributes. |
| public final T | with(TypeFactory tf)
Method for constructing and returning a new instance with different
|
| public final T | with(TypeResolverBuilder<?> trb)
Method for constructing and returning a new instance with different
|
| public final T | with(PropertyNamingStrategy pns)
Method for constructing and returning a new instance with different
|
| public final T | with(AccessorNamingStrategy.
Method for constructing and returning a new instance with different
|
| public final T | with(HandlerInstantiator hi)
Method for constructing and returning a new instance with different
|
| public T | |
| public final T | with(Base64Variant base64)
Method for constructing and returning a new instance with different
default |
| public T | with(DateFormat df)
Method for constructing and returning a new instance with different
|
| public final T | with(Locale l)
Method for constructing and returning a new instance with different
default |
| public final T | with(TimeZone tz)
Method for constructing and returning a new instance with different
default |
| public abstract T | with(SubtypeResolver str)
Method for constructing and returning a new instance with different
|
| public final T | withAppendedAnnotationIntrospector(AnnotationIntrospector ai)
Method for constructing and returning a new instance with additional
|
| public T | withAttribute(Object key, Object value)
Method for constructing an instance that has specified value for attribute for given key. |
| public T | withAttributes(Map<?, ?> attributes)
Method for constructing an instance that has only specified attributes, removing any attributes that exist before the call. |
| public final T | withFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration
object instance with specified features enabled: this may be
|
| public final T | withInsertedAnnotationIntrospector(AnnotationIntrospector ai)
Method for constructing and returning a new instance with additional
|
| public final T | without(MapperFeature... features)
Implements abstract com. |
| public final T | without(DatatypeFeature feature)
Fluent factory method that will return a configuration
object instance with specified feature disabled: this may be
|
| public T | withoutAttribute(Object key)
Method for constructing an instance that has no value for attribute for given key. |
| public final T | withoutFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration
object instance with specified features disabled: this may be
|
| public abstract T | withRootName(PropertyName
to use: if null, means "use default" (clear setting);
if empty String ("") means that no root name wrapping is used;
otherwise defines root name to use. rootName)Method for constructing and returning a new instance with different root name to use (none, if null). |
| public T | |
| public abstract T |