Class BasicClassIntrospector
java.lang.Object
org.codehaus.jackson.map.ClassIntrospector<BasicBeanDescription>
org.codehaus.jackson.map.introspect.BasicClassIntrospector
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Since 1.9 just don't usestatic final classDeprecated.Since 1.9 just don't usestatic classDeprecated.Since 1.9 just don't useNested classes/interfaces inherited from class org.codehaus.jackson.map.ClassIntrospector
ClassIntrospector.MixInResolver -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final BasicBeanDescriptionstatic final BasicClassIntrospector.GetterMethodFilterDeprecated.Since 1.9 just don't usestatic final BasicClassIntrospector.SetterAndGetterMethodFilterDeprecated.Since 1.9 just don't usestatic final BasicClassIntrospector.SetterMethodFilterDeprecated.Since 1.9 just don't usestatic final BasicClassIntrospectorprotected static final BasicBeanDescriptionprotected static final BasicBeanDescriptionprotected static final MethodFilterprotected static final BasicBeanDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BasicBeanDescription_findCachedDesc(JavaType type) Method called to see if type is one of core JDK types that we have cached for efficiency.classWithCreators(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) collectProperties(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization) protected POJOPropertiesCollectorconstructPropertyCollector(MapperConfig<?> config, AnnotatedClass ac, JavaType type, boolean forSerialization) Overridable method called for creatingPOJOPropertiesCollectorinstance to use; override is needed if a custom sub-class is to be used.forClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r) Factory method that constructs an introspector that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.Factory method that constructs an introspector that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methodsFactory method that constructs an introspector that has all information needed for deserialization purposes.forDirectClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r) Factory method that constructs an introspector that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.Factory method that constructs an introspector that has all information needed for serialization purposes.protected MethodFilterDeprecated.Since 1.9 just don't useprotected MethodFilterDeprecated.Since 1.9 just don't useMethods inherited from class org.codehaus.jackson.map.ClassIntrospector
forClassAnnotations, forDirectClassAnnotations
-
Field Details
-
STRING_DESC
-
BOOLEAN_DESC
-
INT_DESC
-
LONG_DESC
-
DEFAULT_GETTER_FILTER
Deprecated.Since 1.9 just don't use- Since:
- 1.8
-
DEFAULT_SETTER_FILTER
Deprecated.Since 1.9 just don't use- Since:
- 1.8
-
DEFAULT_SETTER_AND_GETTER_FILTER
@Deprecated public static final BasicClassIntrospector.SetterAndGetterMethodFilter DEFAULT_SETTER_AND_GETTER_FILTERDeprecated.Since 1.9 just don't use- Since:
- 1.8
-
MINIMAL_FILTER
-
instance
-
-
Constructor Details
-
BasicClassIntrospector
public BasicClassIntrospector()
-
-
Method Details
-
forSerialization
public BasicBeanDescription forSerialization(SerializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r) Description copied from class:ClassIntrospectorFactory method that constructs an introspector that has all information needed for serialization purposes.- Specified by:
forSerializationin classClassIntrospector<BasicBeanDescription>
-
forDeserialization
public BasicBeanDescription forDeserialization(DeserializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r) Description copied from class:ClassIntrospectorFactory method that constructs an introspector that has all information needed for deserialization purposes.- Specified by:
forDeserializationin classClassIntrospector<BasicBeanDescription>
-
forCreation
public BasicBeanDescription forCreation(DeserializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r) Description copied from class:ClassIntrospectorFactory method that constructs an introspector that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methods- Specified by:
forCreationin classClassIntrospector<BasicBeanDescription>
-
forClassAnnotations
public BasicBeanDescription forClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r) Description copied from class:ClassIntrospectorFactory method that constructs an introspector that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.- Specified by:
forClassAnnotationsin classClassIntrospector<BasicBeanDescription>
-
forDirectClassAnnotations
public BasicBeanDescription forDirectClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r) Description copied from class:ClassIntrospectorFactory method that constructs an introspector that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.- Specified by:
forDirectClassAnnotationsin classClassIntrospector<BasicBeanDescription>
-
collectProperties
public POJOPropertiesCollector collectProperties(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization) - Since:
- 1.9
-
constructPropertyCollector
protected POJOPropertiesCollector constructPropertyCollector(MapperConfig<?> config, AnnotatedClass ac, JavaType type, boolean forSerialization) Overridable method called for creatingPOJOPropertiesCollectorinstance to use; override is needed if a custom sub-class is to be used.- Since:
- 1.9
-
classWithCreators
public AnnotatedClass classWithCreators(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r) - Since:
- 1.9
-
_findCachedDesc
Method called to see if type is one of core JDK types that we have cached for efficiency.- Since:
- 1.9
-
getSerializationMethodFilter
Deprecated.Since 1.9 just don't useHelper method for getting access to filter that only guarantees that methods used for serialization are to be included. -
getDeserializationMethodFilter
Deprecated.Since 1.9 just don't useHelper method for getting access to filter that only guarantees that methods used for deserialization are to be included.
-