Class CodeProxyBeanDeserializer<T>

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<T>
net.binis.codegen.jackson.CodeProxyBeanDeserializer<T>
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.ContextualDeserializer, com.fasterxml.jackson.databind.deser.NullValueProvider, com.fasterxml.jackson.databind.deser.ResolvableDeserializer

public class CodeProxyBeanDeserializer<T>
extends com.fasterxml.jackson.databind.JsonDeserializer<T>
implements com.fasterxml.jackson.databind.deser.ResolvableDeserializer, com.fasterxml.jackson.databind.deser.ContextualDeserializer
  • Nested Class Summary

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

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

    Constructors 
    Constructor Description
    CodeProxyBeanDeserializer​(com.fasterxml.jackson.databind.JsonDeserializer<T> parent)  
  • Method Summary

    Modifier and Type Method Description
    com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual​(com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.BeanProperty property)  
    T deserialize​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt)  
    T deserialize​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, T intoValue)  
    Object deserializeWithType​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)  
    Object deserializeWithType​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer, T intoValue)  
    com.fasterxml.jackson.databind.deser.SettableBeanProperty findBackReference​(String refName)  
    Object getAbsentValue​(com.fasterxml.jackson.databind.DeserializationContext ctxt)  
    com.fasterxml.jackson.databind.JsonDeserializer<?> getDelegatee()  
    com.fasterxml.jackson.databind.util.AccessPattern getEmptyAccessPattern()  
    Object getEmptyValue​(com.fasterxml.jackson.databind.DeserializationContext ctxt)  
    Collection<Object> getKnownPropertyNames()  
    com.fasterxml.jackson.databind.util.AccessPattern getNullAccessPattern()  
    T getNullValue​(com.fasterxml.jackson.databind.DeserializationContext ctxt)  
    com.fasterxml.jackson.databind.deser.impl.ObjectIdReader getObjectIdReader()  
    Class<?> handledType()  
    boolean isCachable()  
    com.fasterxml.jackson.databind.type.LogicalType logicalType()  
    com.fasterxml.jackson.databind.JsonDeserializer<?> replaceDelegatee​(com.fasterxml.jackson.databind.JsonDeserializer<?> delegatee)  
    void resolve​(com.fasterxml.jackson.databind.DeserializationContext ctxt)  
    Boolean supportsUpdate​(com.fasterxml.jackson.databind.DeserializationConfig config)  
    com.fasterxml.jackson.databind.JsonDeserializer<T> unwrappingDeserializer​(com.fasterxml.jackson.databind.util.NameTransformer unwrapper)  

    Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer

    getEmptyValue, getNullValue

    Methods inherited from class java.lang.Object

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

  • Method Details

    • deserialize

      public T deserialize​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
      Specified by:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>
      Throws:
      IOException
    • deserialize

      public T deserialize​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, T intoValue) throws IOException
      Overrides:
      deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>
      Throws:
      IOException
    • deserializeWithType

      public Object deserializeWithType​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) throws IOException
      Overrides:
      deserializeWithType in class com.fasterxml.jackson.databind.JsonDeserializer<T>
      Throws:
      IOException
    • deserializeWithType

      public Object deserializeWithType​(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer, T intoValue) throws IOException
      Overrides:
      deserializeWithType in class com.fasterxml.jackson.databind.JsonDeserializer<T>
      Throws:
      IOException
    • unwrappingDeserializer

      public com.fasterxml.jackson.databind.JsonDeserializer<T> unwrappingDeserializer​(com.fasterxml.jackson.databind.util.NameTransformer unwrapper)
      Overrides:
      unwrappingDeserializer in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • replaceDelegatee

      public com.fasterxml.jackson.databind.JsonDeserializer<?> replaceDelegatee​(com.fasterxml.jackson.databind.JsonDeserializer<?> delegatee)
      Overrides:
      replaceDelegatee in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • handledType

      public Class<?> handledType()
      Overrides:
      handledType in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • logicalType

      public com.fasterxml.jackson.databind.type.LogicalType logicalType()
      Overrides:
      logicalType in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • isCachable

      public boolean isCachable()
      Overrides:
      isCachable in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • getDelegatee

      public com.fasterxml.jackson.databind.JsonDeserializer<?> getDelegatee()
      Overrides:
      getDelegatee in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • getKnownPropertyNames

      public Collection<Object> getKnownPropertyNames()
      Overrides:
      getKnownPropertyNames in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • getNullValue

      public T getNullValue​(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
      Specified by:
      getNullValue in interface com.fasterxml.jackson.databind.deser.NullValueProvider
      Overrides:
      getNullValue in class com.fasterxml.jackson.databind.JsonDeserializer<T>
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • getNullAccessPattern

      public com.fasterxml.jackson.databind.util.AccessPattern getNullAccessPattern()
      Specified by:
      getNullAccessPattern in interface com.fasterxml.jackson.databind.deser.NullValueProvider
      Overrides:
      getNullAccessPattern in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • getAbsentValue

      public Object getAbsentValue​(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
      Specified by:
      getAbsentValue in interface com.fasterxml.jackson.databind.deser.NullValueProvider
      Overrides:
      getAbsentValue in class com.fasterxml.jackson.databind.JsonDeserializer<T>
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • getEmptyValue

      public Object getEmptyValue​(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
      Overrides:
      getEmptyValue in class com.fasterxml.jackson.databind.JsonDeserializer<T>
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • getEmptyAccessPattern

      public com.fasterxml.jackson.databind.util.AccessPattern getEmptyAccessPattern()
      Overrides:
      getEmptyAccessPattern in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • getObjectIdReader

      public com.fasterxml.jackson.databind.deser.impl.ObjectIdReader getObjectIdReader()
      Overrides:
      getObjectIdReader in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • findBackReference

      public com.fasterxml.jackson.databind.deser.SettableBeanProperty findBackReference​(String refName)
      Overrides:
      findBackReference in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • supportsUpdate

      public Boolean supportsUpdate​(com.fasterxml.jackson.databind.DeserializationConfig config)
      Overrides:
      supportsUpdate in class com.fasterxml.jackson.databind.JsonDeserializer<T>
    • resolve

      public void resolve​(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
      Specified by:
      resolve in interface com.fasterxml.jackson.databind.deser.ResolvableDeserializer
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
    • createContextual

      public com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual​(com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.BeanProperty property) throws com.fasterxml.jackson.databind.JsonMappingException
      Specified by:
      createContextual in interface com.fasterxml.jackson.databind.deser.ContextualDeserializer
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException