com.googlecode.wickedcharts.highcharts.jackson
Class NullColorReferenceSerializer

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

public class NullColorReferenceSerializer
extends ColorReferenceSerializer<NullColor>


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

NullColorReferenceSerializer

public NullColorReferenceSerializer()
Method Detail

serializeIfNotNull

protected void serializeIfNotNull(NullColor 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<NullColor>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 2013. All Rights Reserved.