com.googlecode.wickedcharts.highcharts.jackson
Class HexColorReferenceSerializer

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<HexColor>
              extended by com.googlecode.wickedcharts.highcharts.jackson.HexColorReferenceSerializer

public class HexColorReferenceSerializer
extends ColorReferenceSerializer<HexColor>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
 
Constructor Summary
HexColorReferenceSerializer()
           
 
Method Summary
protected  void serializeIfNotNull(HexColor 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

HexColorReferenceSerializer

public HexColorReferenceSerializer()
Method Detail

serializeIfNotNull

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


Copyright © 2013. All Rights Reserved.