Class DataCenterTypeInfoResolver

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsontype.TypeIdResolver

    public class DataCenterTypeInfoResolver
    extends com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MY_DATA_CENTER_INFO_TYPE_MARKER
      This phantom class name is kept for backwards compatibility.
      • Fields inherited from class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver

        _subTypeValidator
      • Fields inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase

        _baseType, _typeFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String idFromValue​(java.lang.Object value)  
      com.fasterxml.jackson.databind.JavaType typeFromId​(com.fasterxml.jackson.databind.DatabindContext context, java.lang.String id)  
      • Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver

        _idFrom, _typeFromId, construct, getDescForKnownTypeIds, getMechanism, idFromValueAndType, registerSubtype
      • Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase

        idFromBaseType, init
      • Methods inherited from class java.lang.Object

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

      • MY_DATA_CENTER_INFO_TYPE_MARKER

        public static final java.lang.String MY_DATA_CENTER_INFO_TYPE_MARKER
        This phantom class name is kept for backwards compatibility. Internally it is mapped to MyDataCenterInfo during the deserialization process.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DataCenterTypeInfoResolver

        public DataCenterTypeInfoResolver()
    • Method Detail

      • typeFromId

        public com.fasterxml.jackson.databind.JavaType typeFromId​(com.fasterxml.jackson.databind.DatabindContext context,
                                                                  java.lang.String id)
                                                           throws java.io.IOException
        Specified by:
        typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
        Overrides:
        typeFromId in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
        Throws:
        java.io.IOException
      • idFromValue

        public java.lang.String idFromValue​(java.lang.Object value)
        Specified by:
        idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
        Overrides:
        idFromValue in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver