|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.alibaba.fastjson.util Class DeserializeBeanInfo
java.lang.Object 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)
|
static DeserializeBeanInfo |
computeSetters(Class<?> clazz,
Type type)
|
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)
|
FieldInfo |
getField(String propertyName)
|
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()
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Alibaba Group. All Rights Reserved.