public class I18nizableTextSerializer extends StdSerializer<I18nizableText> implements Component, Serviceable, LogEnabled
I18nizableText objects.
Returns the translated message for JSON value.JsonSerializer.None| Modifier and Type | Field and Description |
|---|---|
private I18nUtils |
_i18nUtils |
private Logger |
_logger |
static String |
ROLE
The Avalon Role
|
_handledType| Constructor and Description |
|---|
I18nizableTextSerializer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
enableLogging(Logger logger) |
void |
serialize(I18nizableText value,
JsonGenerator jgen,
SerializerProvider provider) |
void |
service(ServiceManager manager) |
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterIdprivate I18nUtils _i18nUtils
public I18nizableTextSerializer()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void enableLogging(Logger logger)
enableLogging in interface LogEnabledpublic void serialize(I18nizableText value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException
serialize in class StdSerializer<I18nizableText>IOExceptionJsonGenerationException