程序包 | 说明 |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
限定符和类型 | 字段和说明 |
---|---|
protected VisibilityChecker<?> |
MapperConfig.Base._visibilityChecker
Object used for determining whether specific property elements
(method, constructors, fields) can be auto-detected based on
their visibility (access modifiers).
|
protected static VisibilityChecker<?> |
ObjectMapper.STD_VISIBILITY_CHECKER |
限定符和类型 | 方法和说明 |
---|---|
VisibilityChecker<?> |
AnnotationIntrospector.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker)
Method for checking if annotations indicate changes to minimum visibility levels
needed for auto-detecting property elements (fields, methods, constructors).
|
VisibilityChecker<?> |
AnnotationIntrospector.Pair.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker) |
VisibilityChecker<?> |
SerializationConfig.getDefaultVisibilityChecker() |
VisibilityChecker<?> |
MapperConfig.getDefaultVisibilityChecker()
Accessor for object used for determining whether specific property elements
(method, constructors, fields) can be auto-detected based on
their visibility (access modifiers).
|
VisibilityChecker<?> |
DeserializationConfig.getDefaultVisibilityChecker() |
VisibilityChecker<?> |
ObjectMapper.getVisibilityChecker()
Method for accessing currently configured visibility checker;
object used for determining whether given property element
(method, field, constructor) can be auto-detected or not.
|
VisibilityChecker<?> |
MapperConfig.Base.getVisibilityChecker() |
限定符和类型 | 方法和说明 |
---|---|
VisibilityChecker<?> |
AnnotationIntrospector.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker)
Method for checking if annotations indicate changes to minimum visibility levels
needed for auto-detecting property elements (fields, methods, constructors).
|
VisibilityChecker<?> |
AnnotationIntrospector.Pair.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker) |
abstract LinkedHashMap<String,AnnotatedField> |
BeanDescription.findDeserializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use
BeanDescription.findProperties() |
abstract LinkedHashMap<String,AnnotatedMethod> |
BeanDescription.findGetters(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use
BeanDescription.findProperties() |
abstract Map<String,AnnotatedField> |
BeanDescription.findSerializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use the non-deprecated version
|
abstract LinkedHashMap<String,AnnotatedMethod> |
BeanDescription.findSetters(VisibilityChecker<?> visibilityChecker)
已过时。
Since 1.9 use
BeanDescription.findProperties() |
void |
ObjectMapper.setVisibilityChecker(VisibilityChecker<?> vc)
Method for setting currently configured visibility checker;
object used for determining whether given property element
(method, field, constructor) can be auto-detected or not.
|
SerializationConfig |
SerializationConfig.withVisibilityChecker(VisibilityChecker<?> vc) |
abstract T |
MapperConfig.withVisibilityChecker(VisibilityChecker<?> vc)
Method for constructing and returning a new instance with different
VisibilityChecker
to use. |
MapperConfig.Base |
MapperConfig.Base.withVisibilityChecker(VisibilityChecker<?> vc) |
DeserializationConfig |
DeserializationConfig.withVisibilityChecker(VisibilityChecker<?> vc) |
限定符和类型 | 接口和说明 |
---|---|
interface |
VisibilityChecker<T extends VisibilityChecker<T>>
Interface for object used for determine which property elements
(methods, fields, constructors) can be auto-detected, with respect
to their visibility modifiers.
|
限定符和类型 | 类和说明 |
---|---|
static class |
VisibilityChecker.Std
Default standard implementation is purely based on visibility
modifier of given class members, and its configured minimum
levels.
|
限定符和类型 | 字段和说明 |
---|---|
protected VisibilityChecker<?> |
POJOPropertiesCollector._visibilityChecker |
限定符和类型 | 方法和说明 |
---|---|
VisibilityChecker<?> |
JacksonAnnotationIntrospector.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker) |
限定符和类型 | 方法和说明 |
---|---|
VisibilityChecker<?> |
JacksonAnnotationIntrospector.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker) |
LinkedHashMap<String,AnnotatedField> |
BasicBeanDescription.findDeserializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties) |
LinkedHashMap<String,AnnotatedMethod> |
BasicBeanDescription.findGetters(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties) |
LinkedHashMap<String,AnnotatedField> |
BasicBeanDescription.findSerializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties) |
LinkedHashMap<String,AnnotatedMethod> |
BasicBeanDescription.findSetters(VisibilityChecker<?> visibilityChecker) |
限定符和类型 | 方法和说明 |
---|---|
VisibilityChecker<?> |
JaxbAnnotationIntrospector.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker) |
限定符和类型 | 方法和说明 |
---|---|
VisibilityChecker<?> |
JaxbAnnotationIntrospector.findAutoDetectVisibility(AnnotatedClass ac,
VisibilityChecker<?> checker) |