Package de.isas.mztab2.io.serialization
Class CvSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<de.isas.mztab2.model.CV>
-
- de.isas.mztab2.io.serialization.CvSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
public class CvSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<de.isas.mztab2.model.CV>
CvSerializer implementation for
CV
.- Author:
- nilshoffmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CvSerializer()
Constructor for CvSerializer.CvSerializer(Class<de.isas.mztab2.model.CV> t)
Constructor for CvSerializer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(de.isas.mztab2.model.CV cv, com.fasterxml.jackson.core.JsonGenerator jg, com.fasterxml.jackson.databind.SerializerProvider sp)
void
serializeWithType(de.isas.mztab2.model.CV value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
-
-
-
-
Constructor Detail
-
CvSerializer
public CvSerializer()
Constructor for CvSerializer.
-
CvSerializer
public CvSerializer(Class<de.isas.mztab2.model.CV> t)
Constructor for CvSerializer.
- Parameters:
t
- aClass
object.
-
-
Method Detail
-
serializeWithType
public void serializeWithType(de.isas.mztab2.model.CV value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException
- Overrides:
serializeWithType
in classcom.fasterxml.jackson.databind.JsonSerializer<de.isas.mztab2.model.CV>
- Throws:
IOException
-
serialize
public void serialize(de.isas.mztab2.model.CV cv, com.fasterxml.jackson.core.JsonGenerator jg, com.fasterxml.jackson.databind.SerializerProvider sp) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.ser.std.StdSerializer<de.isas.mztab2.model.CV>
- Throws:
IOException
-
-