Class TextByLangSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<TextByLang>
-
- fr.gouv.vitam.common.mapping.serializer.TextByLangSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,java.io.Serializable
public class TextByLangSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<TextByLang>
textType serializer- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TextByLangSerializer()
default constructorTextByLangSerializer(java.lang.Class<TextByLang> type)
constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(TextByLang textByLang, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
-
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
-
TextByLangSerializer
public TextByLangSerializer()
default constructor
-
TextByLangSerializer
public TextByLangSerializer(java.lang.Class<TextByLang> type)
constructor- Parameters:
type
-
-
-
Method Detail
-
serialize
public void serialize(TextByLang textByLang, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws java.io.IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.ser.std.StdSerializer<TextByLang>
- Parameters:
textByLang
-jgen
-provider
-- Throws:
java.io.IOException
-
-