JavaScript is disabled on your browser.
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class StatementRankSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<StatementRank >
A serializer implementation for the StatementRank enumeration. This is
necessary since Java enumerations are in upper case but the Json counterpart
is in lower case.
Author:
Fredo Erxleben
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
Method Summary
Methods
Modifier and Type
Method and Description
void
serialize (StatementRank value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider)
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
serialize
public void serialize(StatementRank 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<StatementRank >
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage