com.googlecode.wickedcharts.highcharts.jackson
Class NullableSerializer<T>
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Nullable>
com.googlecode.wickedcharts.highcharts.jackson.NullableSerializer<T>
- Direct Known Subclasses:
- ColorReferenceSerializer
public abstract class NullableSerializer<T>
- extends com.fasterxml.jackson.databind.JsonSerializer<Nullable>
| Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer |
com.fasterxml.jackson.databind.JsonSerializer.None |
|
Method Summary |
void |
serialize(Nullable value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
|
protected abstract void |
serializeIfNotNull(T value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
|
| 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 |
NullableSerializer
public NullableSerializer()
serialize
public void serialize(Nullable value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Specified by:
serialize in class com.fasterxml.jackson.databind.JsonSerializer<Nullable>
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
serializeIfNotNull
protected abstract void serializeIfNotNull(T value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2013. All Rights Reserved.