public final class BaseSettings extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| protected AnnotationIntrospector | _annotationIntrospectorIntrospector used for accessing annotation value based configuration. | 
| protected ClassIntrospector | _classIntrospectorIntrospector used to figure out Bean properties needed for bean serialization
 and deserialization. | 
| protected DateFormat | _dateFormatCustom date format to use for de-serialization. | 
| protected Base64Variant | _defaultBase64Explicitly default  Base64Variantto use for handling
 binary data (byte[]), used with data formats
 that use base64 encoding (like JSON, CSV). | 
| protected HandlerInstantiator | _handlerInstantiatorObject used for creating instances of handlers (serializers, deserializers,
 type and type id resolvers), given class to instantiate. | 
| protected Locale | _localeDefault  Localeused with serialization formats. | 
| protected PropertyNamingStrategy | _propertyNamingStrategyCustom property naming strategy in use, if any. | 
| protected TimeZone | _timeZoneDefault  TimeZoneused with serialization formats,
 if (and only if!) explicitly set by use; otherwise `null` to indicate
 "use default", which means "UTC" (from Jackson 2.7); earlier versions
 (up to 2.6) used "GMT". | 
| protected TypeFactory | _typeFactorySpecific factory used for creating  JavaTypeinstances;
 needed to allow modules to add more custom type handling
 (mostly to support types of non-Java JVM languages) | 
| protected TypeResolverBuilder<?> | _typeResolverBuilderBuilder used to create type resolver for serializing and deserializing
 values for which polymorphic type handling is needed. | 
| protected PolymorphicTypeValidator | _typeValidatorValidator that is used to limit allowed polymorphic subtypes, mostly
 for security reasons when dealing with untrusted content. | 
| Constructor and Description | 
|---|
| BaseSettings(ClassIntrospector ci,
            AnnotationIntrospector ai,
            PropertyNamingStrategy pns,
            TypeFactory tf,
            TypeResolverBuilder<?> typer,
            DateFormat dateFormat,
            HandlerInstantiator hi,
            Locale locale,
            TimeZone tz,
            Base64Variant defaultBase64)Deprecated.  | 
| BaseSettings(ClassIntrospector ci,
            AnnotationIntrospector ai,
            PropertyNamingStrategy pns,
            TypeFactory tf,
            TypeResolverBuilder<?> typer,
            DateFormat dateFormat,
            HandlerInstantiator hi,
            Locale locale,
            TimeZone tz,
            Base64Variant defaultBase64,
            PolymorphicTypeValidator ptv) | 
protected final ClassIntrospector _classIntrospector
protected final AnnotationIntrospector _annotationIntrospector
protected final PropertyNamingStrategy _propertyNamingStrategy
protected final TypeFactory _typeFactory
JavaType instances;
 needed to allow modules to add more custom type handling
 (mostly to support types of non-Java JVM languages)protected final TypeResolverBuilder<?> _typeResolverBuilder
protected final PolymorphicTypeValidator _typeValidator
protected final DateFormat _dateFormat
StdDateFormat.
Note that the configured format object will be cloned once per deserialization process (first time it is needed)
protected final HandlerInstantiator _handlerInstantiator
protected final Locale _locale
Locale used with serialization formats.
 Default value is Locale.getDefault().protected final TimeZone _timeZone
TimeZone used with serialization formats,
 if (and only if!) explicitly set by use; otherwise `null` to indicate
 "use default", which means "UTC" (from Jackson 2.7); earlier versions
 (up to 2.6) used "GMT".
 Note that if a new value is set, timezone is also assigned to
 _dateFormat of this object.
protected final Base64Variant _defaultBase64
Base64Variant to use for handling
 binary data (byte[]), used with data formats
 that use base64 encoding (like JSON, CSV).public BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64, PolymorphicTypeValidator ptv)
@Deprecated public BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64)
public BaseSettings copy()
ClassIntrospector
 typically has a cache. So this method is needed for deep copy() of Mapper.public BaseSettings withClassIntrospector(ClassIntrospector ci)
public BaseSettings withAnnotationIntrospector(AnnotationIntrospector ai)
public BaseSettings withInsertedAnnotationIntrospector(AnnotationIntrospector ai)
public BaseSettings withAppendedAnnotationIntrospector(AnnotationIntrospector ai)
public BaseSettings withPropertyNamingStrategy(PropertyNamingStrategy pns)
public BaseSettings withTypeFactory(TypeFactory tf)
public BaseSettings withTypeResolverBuilder(TypeResolverBuilder<?> typer)
public BaseSettings withDateFormat(DateFormat df)
public BaseSettings withHandlerInstantiator(HandlerInstantiator hi)
public BaseSettings with(Locale l)
public BaseSettings with(TimeZone tz)
DateFormat,
 changing time formatting defaults.public BaseSettings with(Base64Variant base64)
public BaseSettings with(PolymorphicTypeValidator v)
public ClassIntrospector getClassIntrospector()
public AnnotationIntrospector getAnnotationIntrospector()
public PropertyNamingStrategy getPropertyNamingStrategy()
public TypeFactory getTypeFactory()
public TypeResolverBuilder<?> getTypeResolverBuilder()
public PolymorphicTypeValidator getPolymorphicTypeValidator()
public DateFormat getDateFormat()
public HandlerInstantiator getHandlerInstantiator()
public Locale getLocale()
public TimeZone getTimeZone()
public boolean hasExplicitTimeZone()
public Base64Variant getBase64Variant()
Copyright © 2008–2019 FasterXML. All rights reserved.