com.googlecode.wickedcharts.highcharts.jackson
Class SimpleColorReferenceSerializer

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonSerializer<Nullable>
      extended by com.googlecode.wickedcharts.highcharts.jackson.NullableSerializer<T>
          extended by com.googlecode.wickedcharts.highcharts.jackson.ColorReferenceSerializer<SimpleColor>
              extended by com.googlecode.wickedcharts.highcharts.jackson.SimpleColorReferenceSerializer

public class SimpleColorReferenceSerializer
extends ColorReferenceSerializer<SimpleColor>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
 
Constructor Summary
SimpleColorReferenceSerializer()
           
 
Method Summary
protected  void serializeIfNotNull(SimpleColor color, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
           
 
Methods inherited from class com.googlecode.wickedcharts.highcharts.jackson.ColorReferenceSerializer
brighten, toHexString
 
Methods inherited from class com.googlecode.wickedcharts.highcharts.jackson.NullableSerializer
serialize
 
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
handledType, isEmpty, isUnwrappingSerializer, serializeWithType, unwrappingSerializer, usesObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleColorReferenceSerializer

public SimpleColorReferenceSerializer()
Method Detail

serializeIfNotNull

protected void serializeIfNotNull(SimpleColor color,
                                  com.fasterxml.jackson.core.JsonGenerator jgen,
                                  com.fasterxml.jackson.databind.SerializerProvider provider)
                           throws IOException,
                                  com.fasterxml.jackson.core.JsonProcessingException
Specified by:
serializeIfNotNull in class NullableSerializer<SimpleColor>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 2013. All Rights Reserved.