|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.jackson.map.ClassIntrospector<T>
public abstract class ClassIntrospector<T extends BeanDescription>
Helper class used to introspect features of POJO value classes used with Jackson. The main use is for finding out POJO construction (creator) and value access (getters, setters) methods and annotations that define configuration of using those methods.
Nested Class Summary | |
---|---|
static interface |
ClassIntrospector.MixInResolver
Interface used for decoupling details of how mix-in annotation definitions are accessed (via this interface), and how they are stored (defined by classes that implement the interface) |
Constructor Summary | |
---|---|
protected |
ClassIntrospector()
|
Method Summary | |
---|---|
abstract T |
forClassAnnotations(MapperConfig cfg,
Class<?> c,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that only has information regarding annotations class itself has, but nothing on methods or constructors. |
abstract T |
forCreation(DeserializationConfig cfg,
Class<?> c,
ClassIntrospector.MixInResolver r)
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 methods |
abstract T |
forDeserialization(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all information needed for deserialization purposes. |
abstract T |
forSerialization(SerializationConfig cfg,
Class<?> c,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all information needed for serialization purposes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ClassIntrospector()
Method Detail |
---|
public abstract T forSerialization(SerializationConfig cfg, Class<?> c, ClassIntrospector.MixInResolver r)
public abstract T forDeserialization(DeserializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r)
public abstract T forCreation(DeserializationConfig cfg, Class<?> c, ClassIntrospector.MixInResolver r)
public abstract T forClassAnnotations(MapperConfig cfg, Class<?> c, ClassIntrospector.MixInResolver r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |