org.ektorp.impl.docref
Class BackReferencedBeanSerializer<T>

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

public class BackReferencedBeanSerializer<T>
extends com.fasterxml.jackson.databind.JsonSerializer<T>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
 
Constructor Summary
BackReferencedBeanSerializer(com.fasterxml.jackson.databind.JsonSerializer<T> delegate, List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> list, CouchDbConnector couchDbConnector)
           
 
Method Summary
 void serialize(T 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

BackReferencedBeanSerializer

public BackReferencedBeanSerializer(com.fasterxml.jackson.databind.JsonSerializer<T> delegate,
                                    List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> list,
                                    CouchDbConnector couchDbConnector)
Method Detail

serialize

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


Copyright © 2017. All rights reserved.