com.alibaba.fastjson.util
Class DeserializeBeanInfo

java.lang.Object
  extended by com.alibaba.fastjson.util.DeserializeBeanInfo

public class DeserializeBeanInfo
extends Object


Constructor Summary
DeserializeBeanInfo(Class<?> clazz)
           
 
Method Summary
 boolean add(FieldInfo field)
           
static DeserializeBeanInfo computeSetters(Class<?> clazz)
           
 Class<?> getClazz()
           
 Constructor<?> getCreatorConstructor()
           
static Constructor<?> getCreatorConstructor(Class<?> clazz)
           
 Constructor<?> getDefaultConstructor()
           
static Constructor<?> getDefaultConstructor(Class<?> clazz)
           
 Method getFactoryMethod()
           
static Method getFactoryMethod(Class<?> clazz)
           
static Field getField(Class<?> clazz, String fieldName)
           
 List<FieldInfo> getFieldList()
           
 Type getType()
           
 void setCreatorConstructor(Constructor<?> createConstructor)
           
 void setDefaultConstructor(Constructor<?> defaultConstructor)
           
 void setFactoryMethod(Method factoryMethod)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeserializeBeanInfo

public DeserializeBeanInfo(Class<?> clazz)
Method Detail

getDefaultConstructor

public Constructor<?> getDefaultConstructor()

setDefaultConstructor

public void setDefaultConstructor(Constructor<?> defaultConstructor)

getCreatorConstructor

public Constructor<?> getCreatorConstructor()

setCreatorConstructor

public void setCreatorConstructor(Constructor<?> createConstructor)

getFactoryMethod

public Method getFactoryMethod()

setFactoryMethod

public void setFactoryMethod(Method factoryMethod)

getClazz

public Class<?> getClazz()

getType

public Type getType()

getFieldList

public List<FieldInfo> getFieldList()

add

public boolean add(FieldInfo field)

computeSetters

public static DeserializeBeanInfo computeSetters(Class<?> clazz)

getField

public static Field getField(Class<?> clazz,
                             String fieldName)

getDefaultConstructor

public static Constructor<?> getDefaultConstructor(Class<?> clazz)

getCreatorConstructor

public static Constructor<?> getCreatorConstructor(Class<?> clazz)

getFactoryMethod

public static Method getFactoryMethod(Class<?> clazz)


Copyright © 2012 Alibaba Group. All Rights Reserved.