com.alibaba.fastjson.serializer
Class ColorSerializer

java.lang.Object
  extended by com.alibaba.fastjson.serializer.ColorSerializer
All Implemented Interfaces:
AutowiredObjectSerializer, ObjectSerializer

public class ColorSerializer
extends Object
implements AutowiredObjectSerializer


Constructor Summary
ColorSerializer()
           
 
Method Summary
 Set<Type> getAutowiredFor()
           
 void write(JSONSerializer serializer, Object object, Object fieldName, Type fieldType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorSerializer

public ColorSerializer()
Method Detail

write

public void write(JSONSerializer serializer,
                  Object object,
                  Object fieldName,
                  Type fieldType)
           throws IOException
Specified by:
write in interface ObjectSerializer
Throws:
IOException

getAutowiredFor

public Set<Type> getAutowiredFor()
Specified by:
getAutowiredFor in interface AutowiredObjectSerializer


Copyright © 2012 Alibaba Group. All Rights Reserved.