org.ektorp.impl.docref
Class DocumentReferenceSerializer

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonSerializer<Object>
      extended by org.ektorp.impl.docref.DocumentReferenceSerializer
Type Parameters:
T -
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

public class DocumentReferenceSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<Object>

Author:
ragnar rova, henrik lundgren

Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
 
Constructor Summary
DocumentReferenceSerializer(CouchDbConnector db, com.fasterxml.jackson.databind.JsonSerializer<Object> delegate)
           
 
Method Summary
 void serialize(Object 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, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentReferenceSerializer

public DocumentReferenceSerializer(CouchDbConnector db,
                                   com.fasterxml.jackson.databind.JsonSerializer<Object> delegate)
Method Detail

serialize

public void serialize(Object 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<Object>
Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException


Copyright © 2017. All rights reserved.