| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fasterxml.jackson.databind.cfg.MapperConfig<T>
com.fasterxml.jackson.databind.cfg.MapperConfigBase<CFG,T>
public abstract class MapperConfigBase<CFG extends ConfigFeature,T extends MapperConfigBase<CFG,T>>
| Field Summary | |
|---|---|
| protected  Map<ClassKey,Class<?>> | _mixInAnnotationsMix-in annotation mappings to use, if any: immutable, can not be changed once defined. | 
| protected  String | _rootNameExplicitly definite root name to use, if any; if empty String, will disable root-name wrapping; if null, will use defaults | 
| protected  SubtypeResolver | _subtypeResolverRegistered concrete subtypes that can be used instead of (or in addition to) ones declared using annotations. | 
| protected  Class<?> | _viewView to use for filtering out properties to serialize or deserialize. | 
| Fields inherited from class com.fasterxml.jackson.databind.cfg.MapperConfig | 
|---|
| _base, _mapperFeatures | 
| Constructor Summary | |
|---|---|
| protected  | MapperConfigBase(BaseSettings base,
                 SubtypeResolver str,
                 Map<ClassKey,Class<?>> mixins)Constructor used when creating a new instance (compared to that of creating fluent copies) | 
| protected  | MapperConfigBase(MapperConfigBase<CFG,T> src)Pass-through constructor used when no changes are needed to the base class. | 
| protected  | MapperConfigBase(MapperConfigBase<CFG,T> src,
                 BaseSettings base) | 
| protected  | MapperConfigBase(MapperConfigBase<CFG,T> src,
                 Class<?> view) | 
| protected  | MapperConfigBase(MapperConfigBase<CFG,T> src,
                 int mapperFeatures) | 
| protected  | MapperConfigBase(MapperConfigBase<CFG,T> src,
                 String rootName) | 
| protected  | MapperConfigBase(MapperConfigBase<CFG,T> src,
                 SubtypeResolver str) | 
| Method Summary | |
|---|---|
|  Class<?> | findMixInClassFor(Class<?> cls)Method that will check if there are "mix-in" classes (with mix-in annotations) for given class | 
|  Class<?> | getActiveView()Accessor for finding currently active view, if any (null if none) | 
|  String | getRootName() | 
|  SubtypeResolver | getSubtypeResolver()Accessor for object used for finding out all reachable subtypes for supertypes; needed when a logical type name is used instead of class name (or custom scheme). | 
|  int | mixInCount() | 
| abstract  T | with(AnnotationIntrospector ai)Method for constructing and returning a new instance with different AnnotationIntrospectorto use (replacing old one). | 
| abstract  T | with(ClassIntrospector ci)Method for constructing and returning a new instance with different ClassIntrospectorto use. | 
| abstract  T | with(DateFormat df)Method for constructing and returning a new instance with different DateFormatto use. | 
| abstract  T | with(HandlerInstantiator hi)Method for constructing and returning a new instance with different HandlerInstantiatorto use. | 
| abstract  T | with(Locale l)Method for constructing and returning a new instance with different default Localeto use for formatting. | 
| abstract  T | with(PropertyNamingStrategy strategy)Method for constructing and returning a new instance with different PropertyNamingStrategyto use. | 
| abstract  T | with(SubtypeResolver str)Method for constructing and returning a new instance with different SubtypeResolverto use. | 
| abstract  T | with(TimeZone tz)Method for constructing and returning a new instance with different default TimeZoneto use for formatting of date values. | 
| abstract  T | with(TypeFactory typeFactory)Method for constructing and returning a new instance with different TypeFactoryto use. | 
| abstract  T | with(TypeResolverBuilder<?> trb)Method for constructing and returning a new instance with different TypeResolverBuilderto use. | 
| abstract  T | with(VisibilityChecker<?> vc)Method for constructing and returning a new instance with different VisibilityCheckerto use. | 
| abstract  T | withAppendedAnnotationIntrospector(AnnotationIntrospector introspector)Method for constructing and returning a new instance with additional AnnotationIntrospectorappended (as the lowest priority one) | 
| abstract  T | withInsertedAnnotationIntrospector(AnnotationIntrospector introspector)Method for constructing and returning a new instance with additional AnnotationIntrospectorinserted (as the highest priority one) | 
| abstract  T | withRootName(String rootName)Method for constructing and returning a new instance with different root name to use (none, if null). | 
| abstract  T | withView(Class<?> view)Method for constructing and returning a new instance with different view to use. | 
| abstract  T | withVisibility(com.fasterxml.jackson.annotation.PropertyAccessor forMethod,
               com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility visibility)Method for constructing and returning a new instance with different minimal visibility level for specified property type | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected final Map<ClassKey,Class<?>> _mixInAnnotations
protected final SubtypeResolver _subtypeResolver
protected final String _rootName
protected final Class<?> _view
Object.class
 is defined), meaning that all properties are to be included.
| Constructor Detail | 
|---|
protected MapperConfigBase(BaseSettings base,
                           SubtypeResolver str,
                           Map<ClassKey,Class<?>> mixins)
protected MapperConfigBase(MapperConfigBase<CFG,T> src)
protected MapperConfigBase(MapperConfigBase<CFG,T> src,
                           BaseSettings base)
protected MapperConfigBase(MapperConfigBase<CFG,T> src,
                           int mapperFeatures)
protected MapperConfigBase(MapperConfigBase<CFG,T> src,
                           SubtypeResolver str)
protected MapperConfigBase(MapperConfigBase<CFG,T> src,
                           String rootName)
protected MapperConfigBase(MapperConfigBase<CFG,T> src,
                           Class<?> view)
| Method Detail | 
|---|
public abstract T with(AnnotationIntrospector ai)
AnnotationIntrospector to use (replacing old one).
 NOTE: make sure to register new instance with ObjectMapper
 if directly calling this method.
public abstract T withAppendedAnnotationIntrospector(AnnotationIntrospector introspector)
AnnotationIntrospector appended (as the lowest priority one)
public abstract T withInsertedAnnotationIntrospector(AnnotationIntrospector introspector)
AnnotationIntrospector inserted (as the highest priority one)
public abstract T with(ClassIntrospector ci)
ClassIntrospector
 to use.
 NOTE: make sure to register new instance with ObjectMapper
 if directly calling this method.
public abstract T with(DateFormat df)
DateFormat
 to use.
 NOTE: make sure to register new instance with ObjectMapper
 if directly calling this method.
public abstract T with(HandlerInstantiator hi)
HandlerInstantiator
 to use.
 NOTE: make sure to register new instance with ObjectMapper
 if directly calling this method.
public abstract T with(PropertyNamingStrategy strategy)
PropertyNamingStrategy
 to use.
 NOTE: make sure to register new instance with ObjectMapper
 if directly calling this method.
public abstract T withRootName(String rootName)
 Note that when a root name is set to a non-Empty String, this will automatically force use
 of root element wrapping with given name. If empty String passed, will
 disable root name wrapping; and if null used, will instead use
 SerializationFeature to determine if to use wrapping, and annotation
 (or default name) for actual root name to use.
rootName - 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.public abstract T with(SubtypeResolver str)
SubtypeResolver
 to use.
 NOTE: make sure to register new instance with ObjectMapper
 if directly calling this method.
public abstract T with(TypeFactory typeFactory)
TypeFactory
 to use.
public abstract T with(TypeResolverBuilder<?> trb)
TypeResolverBuilder to use.
public abstract T withView(Class<?> view)
public abstract T with(VisibilityChecker<?> vc)
VisibilityChecker
 to use.
public abstract T withVisibility(com.fasterxml.jackson.annotation.PropertyAccessor forMethod,
                                 com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility visibility)
public abstract T with(Locale l)
Locale to use for formatting.
public abstract T with(TimeZone tz)
TimeZone to use for formatting of date values.
public final SubtypeResolver getSubtypeResolver()
getSubtypeResolver in class MapperConfig<T extends MapperConfigBase<CFG,T>>public final String getRootName()
public final Class<?> getActiveView()
MapperConfig
getActiveView in class MapperConfig<T extends MapperConfigBase<CFG,T>>public final Class<?> findMixInClassFor(Class<?> cls)
public final int mixInCount()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||