Class GenreSortedSet.Serializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
nl.vpro.domain.media.bind.GenreSortedSet.Serializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Enclosing class:
GenreSortedSet

public static class GenreSortedSet.Serializer extends com.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider, SortedSet<Genre> value)
     
    void
    serialize(SortedSet<Genre> genres, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
     

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    acceptJsonFormatVisitor, getDelegatee, handledType, 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 Details

    • Serializer

      public Serializer()
  • Method Details

    • isEmpty

      public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider, SortedSet<Genre> value)
      Overrides:
      isEmpty in class com.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
    • serialize

      public void serialize(SortedSet<Genre> genres, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException
      Specified by:
      serialize in class com.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
      Throws:
      IOException