Class XMLGregorianCalendarSerializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, java.io.Serializable

    public class XMLGregorianCalendarSerializer
    extends com.fasterxml.jackson.databind.ser.std.StdSerializer<javax.xml.datatype.XMLGregorianCalendar>
    XMLGregorian calendar Serializer
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

        com.fasterxml.jackson.databind.JsonSerializer.None
    • Field Summary

      • Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

        _handledType
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void serialize​(javax.xml.datatype.XMLGregorianCalendar calendar, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
      serialize date
      • 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
      • Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

        getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLGregorianCalendarSerializer

        public XMLGregorianCalendarSerializer()
        constructor
      • XMLGregorianCalendarSerializer

        public XMLGregorianCalendarSerializer​(java.lang.Class<javax.xml.datatype.XMLGregorianCalendar> type)
        constructor
        Parameters:
        type -
    • Method Detail

      • serialize

        public void serialize​(javax.xml.datatype.XMLGregorianCalendar calendar,
                              com.fasterxml.jackson.core.JsonGenerator jgen,
                              com.fasterxml.jackson.databind.SerializerProvider provider)
                       throws java.io.IOException
        serialize date
        Specified by:
        serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<javax.xml.datatype.XMLGregorianCalendar>
        Parameters:
        calendar -
        jgen -
        provider -
        Throws:
        java.io.IOException