Package nl.vpro.domain.media.bind
Class 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>>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider, SortedSet<Genre> value)
-
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 classcom.fasterxml.jackson.databind.JsonSerializer<SortedSet<Genre>>
- Throws:
IOException
-
-