Class IdentifierTypeDeserializer

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.deser.NullValueProvider

    public class IdentifierTypeDeserializer
    extends com.fasterxml.jackson.databind.JsonDeserializer<fr.gouv.culture.archivesdefrance.seda.v2.IdentifierType>
    Deserialize a (json, xml, string) representation to IdentifierType To be registered in jackson objectMapper
    • Nested Class Summary

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

        com.fasterxml.jackson.databind.JsonDeserializer.None
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      fr.gouv.culture.archivesdefrance.seda.v2.IdentifierType deserialize​(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

        deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
      • Methods inherited from class java.lang.Object

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

      • IdentifierTypeDeserializer

        public IdentifierTypeDeserializer()
    • Method Detail

      • deserialize

        public fr.gouv.culture.archivesdefrance.seda.v2.IdentifierType deserialize​(com.fasterxml.jackson.core.JsonParser jp,
                                                                                   com.fasterxml.jackson.databind.DeserializationContext ctxt)
                                                                            throws java.io.IOException
        Specified by:
        deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<fr.gouv.culture.archivesdefrance.seda.v2.IdentifierType>
        Parameters:
        jp - representation (json, xml, string)
        ctxt -
        Returns:
        the identifier type
        Throws:
        java.io.IOException