Package de.isas.mztab2.io.serialization
Class SmallMoleculeFeatureSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<SmallMoleculeFeature>
-
- de.isas.mztab2.io.serialization.SmallMoleculeFeatureSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
public class SmallMoleculeFeatureSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<SmallMoleculeFeature>
SmallMoleculeFeatureSerializer implementation for
SmallMoleculeFeature
.- Author:
- nilshoffmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SmallMoleculeFeatureSerializer()
Constructor for SmallMoleculeFeatureSerializer.SmallMoleculeFeatureSerializer(Class<SmallMoleculeFeature> t)
Constructor for SmallMoleculeFeatureSerializer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(SmallMoleculeFeature smallMoleculeFeature, com.fasterxml.jackson.core.JsonGenerator jg, com.fasterxml.jackson.databind.SerializerProvider sp)
void
serializeWithType(SmallMoleculeFeature 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
-
SmallMoleculeFeatureSerializer
public SmallMoleculeFeatureSerializer()
Constructor for SmallMoleculeFeatureSerializer.
-
SmallMoleculeFeatureSerializer
public SmallMoleculeFeatureSerializer(Class<SmallMoleculeFeature> t)
Constructor for SmallMoleculeFeatureSerializer.
- Parameters:
t
- aClass
object.
-
-
Method Detail
-
serializeWithType
public void serializeWithType(SmallMoleculeFeature 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<SmallMoleculeFeature>
- Throws:
IOException
-
serialize
public void serialize(SmallMoleculeFeature smallMoleculeFeature, 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<SmallMoleculeFeature>
- Throws:
IOException
-
-