Class AbstractDataTypeDeserializer<T extends AbstractType>

java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<T>
org.cyclonedx.util.deserializer.AbstractDataTypeDeserializer<T>
All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
Direct Known Subclasses:
InputTypeDeserializer, OutputTypeDeserializer

public abstract class AbstractDataTypeDeserializer<T extends AbstractType> extends com.fasterxml.jackson.databind.JsonDeserializer<T>
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected final com.fasterxml.jackson.databind.ObjectMapper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    setEnvironmentVars(com.fasterxml.jackson.databind.JsonNode node, AbstractType data)
     
    protected void
    setReference(com.fasterxml.jackson.databind.JsonNode node, String fieldName, AbstractType type)
     
    protected void
    setSourceAndTarget(com.fasterxml.jackson.databind.JsonNode node, AbstractType type)
     

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

    deserialize, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer

    Methods inherited from class Object

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

    • objectMapper

      protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • AbstractDataTypeDeserializer

      public AbstractDataTypeDeserializer()
  • Method Details

    • setEnvironmentVars

      protected void setEnvironmentVars(com.fasterxml.jackson.databind.JsonNode node, AbstractType data) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • setReference

      protected void setReference(com.fasterxml.jackson.databind.JsonNode node, String fieldName, AbstractType type) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • setSourceAndTarget

      protected void setSourceAndTarget(com.fasterxml.jackson.databind.JsonNode node, AbstractType type) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException