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 currently (Jackson 2.6) means "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<?> | _typeResolverBuilderType information handler used for "untyped" values (ones declared
 to have type  Object.class) | 
| protected VisibilityChecker<?> | _visibilityCheckerObject used for determining whether specific property elements
 (method, constructors, fields) can be auto-detected based on
 their visibility (access modifiers). | 
| Constructor and Description | 
|---|
| BaseSettings(ClassIntrospector ci,
            AnnotationIntrospector ai,
            VisibilityChecker<?> vc,
            PropertyNamingStrategy pns,
            TypeFactory tf,
            TypeResolverBuilder<?> typer,
            DateFormat dateFormat,
            HandlerInstantiator hi,
            Locale locale,
            TimeZone tz,
            Base64Variant defaultBase64) | 
protected final ClassIntrospector _classIntrospector
protected final AnnotationIntrospector _annotationIntrospector
protected final VisibilityChecker<?> _visibilityChecker
JsonAutoDetect annotation)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
Object.class)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 currently (Jackson 2.6) means "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, VisibilityChecker<?> vc, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64)
public BaseSettings withClassIntrospector(ClassIntrospector ci)
public BaseSettings withAnnotationIntrospector(AnnotationIntrospector ai)
public BaseSettings withInsertedAnnotationIntrospector(AnnotationIntrospector ai)
public BaseSettings withAppendedAnnotationIntrospector(AnnotationIntrospector ai)
public BaseSettings withVisibilityChecker(VisibilityChecker<?> vc)
public BaseSettings withVisibility(PropertyAccessor forMethod, JsonAutoDetect.Visibility visibility)
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 ClassIntrospector getClassIntrospector()
public AnnotationIntrospector getAnnotationIntrospector()
public VisibilityChecker<?> getVisibilityChecker()
public PropertyNamingStrategy getPropertyNamingStrategy()
public TypeFactory getTypeFactory()
public TypeResolverBuilder<?> getTypeResolverBuilder()
public DateFormat getDateFormat()
public HandlerInstantiator getHandlerInstantiator()
public Locale getLocale()
public TimeZone getTimeZone()
public boolean hasExplicitTimeZone()
public Base64Variant getBase64Variant()
Copyright © 2008–2016 FasterXML. All rights reserved.