|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.jackson.map.MapperConfig.Base
public static class MapperConfig.Base
Immutable container class used to store simple configuration settings. Since instances are fully immutable, instances can be freely shared and used without synchronization.
| Field Summary | |
|---|---|
protected AnnotationIntrospector |
_annotationIntrospector
Introspector used for accessing annotation value based configuration. |
protected ClassIntrospector<? extends BeanDescription> |
_classIntrospector
Introspector used to figure out Bean properties needed for bean serialization and deserialization. |
protected DateFormat |
_dateFormat
Custom date format to use for de-serialization. |
protected HandlerInstantiator |
_handlerInstantiator
Object used for creating instances of handlers (serializers, deserializers, type and type id resolvers), given class to instantiate. |
protected PropertyNamingStrategy |
_propertyNamingStrategy
Custom property naming strategy in use, if any. |
protected TypeFactory |
_typeFactory
Specific factory used for creating JavaType instances;
needed to allow modules to add more custom type handling
(mostly to support types of non-Java JVM languages) |
protected TypeResolverBuilder<?> |
_typeResolverBuilder
Type information handler used for "untyped" values (ones declared to have type Object.class) |
protected VisibilityChecker<?> |
_visibilityChecker
Object used for determining whether specific property elements (method, constructors, fields) can be auto-detected based on their visibility (access modifiers). |
| Constructor Summary | |
|---|---|
MapperConfig.Base(ClassIntrospector<? extends BeanDescription> ci,
AnnotationIntrospector ai,
VisibilityChecker<?> vc,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ClassIntrospector<? extends BeanDescription> _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
| Constructor Detail |
|---|
public MapperConfig.Base(ClassIntrospector<? extends BeanDescription> ci,
AnnotationIntrospector ai,
VisibilityChecker<?> vc,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi)
| Method Detail |
|---|
public MapperConfig.Base withClassIntrospector(ClassIntrospector<? extends BeanDescription> ci)
public MapperConfig.Base withAnnotationIntrospector(AnnotationIntrospector ai)
public MapperConfig.Base withInsertedAnnotationIntrospector(AnnotationIntrospector ai)
public MapperConfig.Base withAppendedAnnotationIntrospector(AnnotationIntrospector ai)
public MapperConfig.Base withVisibilityChecker(VisibilityChecker<?> vc)
public MapperConfig.Base withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility)
public MapperConfig.Base withPropertyNamingStrategy(PropertyNamingStrategy pns)
public MapperConfig.Base withTypeFactory(TypeFactory tf)
public MapperConfig.Base withTypeResolverBuilder(TypeResolverBuilder<?> typer)
public MapperConfig.Base withDateFormat(DateFormat df)
public MapperConfig.Base withHandlerInstantiator(HandlerInstantiator hi)
public ClassIntrospector<? extends BeanDescription> getClassIntrospector()
public AnnotationIntrospector getAnnotationIntrospector()
public VisibilityChecker<?> getVisibilityChecker()
public PropertyNamingStrategy getPropertyNamingStrategy()
public TypeFactory getTypeFactory()
public TypeResolverBuilder<?> getTypeResolverBuilder()
public DateFormat getDateFormat()
public HandlerInstantiator getHandlerInstantiator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||