com.alibaba.fastjson.util
Class DeserializeBeanInfo
java.lang.Object
com.alibaba.fastjson.util.DeserializeBeanInfo
public class DeserializeBeanInfo
- extends Object
DeserializeBeanInfo
public DeserializeBeanInfo(Class<?> clazz)
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()
getField
public FieldInfo getField(String propertyName)
add
public boolean add(FieldInfo field)
computeSetters
public static DeserializeBeanInfo computeSetters(Class<?> clazz)
computeSetters
public static DeserializeBeanInfo computeSetters(Class<?> clazz,
Type type)
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.