FieldDeserializer (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.parser.deserializer Class FieldDeserializer

java.lang.Object
  extended by com.alibaba.fastjson.parser.deserializer.FieldDeserializer
Direct Known Subclasses:
ArrayListStringFieldDeserializer, ArrayListTypeFieldDeserializer, BooleanFieldDeserializer, DefaultFieldDeserializer, IntegerFieldDeserializer, ListResolveFieldDeserializer, LongFieldDeserializer, MapResolveFieldDeserializer, StringFieldDeserializer

public abstract class FieldDeserializer
extends Object


Constructor Summary
 
Method Summary
abstract  int
 Class<?>
 Type
 Method
abstract  void
 void
 void
 void
 void
 void
 
Methods inherited from class java.lang.Object
 

Constructor Detail

FieldDeserializer

public FieldDeserializer(Class<?> clazz,
                         FieldInfo fieldInfo)
Method Detail

getMethod

public Method getMethod()

getFieldClass

public Class<?> getFieldClass()

getFieldType

public Type getFieldType()

parseField

public abstract void parseField(DefaultJSONParser parser,
                                Object object,
                                Type objectType,
                                Map<String,Object> fieldValues)

getFastMatchToken

public abstract int getFastMatchToken()

setValue

public void setValue(Object object,
                     boolean value)

setValue

public void setValue(Object object,
                     int value)

setValue

public void setValue(Object object,
                     long value)

setValue

public void setValue(Object object,
                     String value)

setValue

public void setValue(Object object,
                     Object value)


Copyright © 2012 Alibaba Group. All Rights Reserved.