org.codehaus.jackson.map
Class ClassIntrospector<T extends BeanDescription>

java.lang.Object
  extended by org.codehaus.jackson.map.ClassIntrospector<T>
Direct Known Subclasses:
BasicClassIntrospector

public abstract class ClassIntrospector<T extends BeanDescription>
extends java.lang.Object

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.


Constructor Summary
protected ClassIntrospector()
           
 
Method Summary
abstract  T forClassAnnotations(java.lang.Class<?> c)
          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, java.lang.Class<?> c)
          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, java.lang.Class<?> c)
          Factory method that constructs an introspector that has all information needed for deserialization purposes.
abstract  T forSerialization(SerializationConfig cfg, java.lang.Class<?> c)
          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

ClassIntrospector

protected ClassIntrospector()
Method Detail

forSerialization

public abstract T forSerialization(SerializationConfig cfg,
                                   java.lang.Class<?> c)
Factory method that constructs an introspector that has all information needed for serialization purposes.


forDeserialization

public abstract T forDeserialization(DeserializationConfig cfg,
                                     java.lang.Class<?> c)
Factory method that constructs an introspector that has all information needed for deserialization purposes.


forCreation

public abstract T forCreation(DeserializationConfig cfg,
                              java.lang.Class<?> c)
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


forClassAnnotations

public abstract T forClassAnnotations(java.lang.Class<?> c)
Factory method that constructs an introspector that only has information regarding annotations class itself has, but nothing on methods or constructors.