Class AbstractJSONDecoder<T>

java.lang.Object
org.n52.svalbard.decode.AbstractDelegatingDecoder<T,com.fasterxml.jackson.databind.JsonNode>
org.n52.svalbard.decode.json.JSONDecoder<T>
org.n52.svalbard.decode.json.AbstractJSONDecoder<T>
All Implemented Interfaces:
Component<DecoderKey>, Keyed<DecoderKey>, Decoder<T,com.fasterxml.jackson.databind.JsonNode>
Direct Known Subclasses:
AddressJSONDecoder, ContactJSONDecoder, EReportingChangeJSONDecoder, EReportingHeaderJSONDecoder, GeographicalNameJSONDecoder, InspireIDJSONDecoder, PronunciationJSONDecoder, RelatedPartyJSONDecoder, ReportObligationJSONDecoder, SpellingJSONDecoder

public abstract class AbstractJSONDecoder<T> extends JSONDecoder<T>
  • Constructor Details

    • AbstractJSONDecoder

      public AbstractJSONDecoder(Class<T> type)
  • Method Details

    • parseNillableString

      protected Nillable<String> parseNillableString(com.fasterxml.jackson.databind.JsonNode node)
    • parseNillablePTFreeText

      protected Nillable<PT_FreeText> parseNillablePTFreeText(com.fasterxml.jackson.databind.JsonNode node)
    • parseNillable

      protected Nillable<com.fasterxml.jackson.databind.JsonNode> parseNillable(com.fasterxml.jackson.databind.JsonNode node)
    • parseNillableReference

      protected Nillable<Reference> parseNillableReference(com.fasterxml.jackson.databind.JsonNode node)
    • parseReferenceable

      protected Referenceable<com.fasterxml.jackson.databind.JsonNode> parseReferenceable(com.fasterxml.jackson.databind.JsonNode node)
    • parseReference

      protected Reference parseReference(com.fasterxml.jackson.databind.JsonNode node)
    • parsePTFreeText

      protected PT_FreeText parsePTFreeText(com.fasterxml.jackson.databind.JsonNode node)
    • parseReferenceableTime

      protected Referenceable<Time> parseReferenceableTime(com.fasterxml.jackson.databind.JsonNode node)
    • parseNillableCodeType

      protected Nillable<CodeType> parseNillableCodeType(com.fasterxml.jackson.databind.JsonNode node)
    • parseFreeText

      protected PT_FreeText parseFreeText(com.fasterxml.jackson.databind.JsonNode n)
    • decodeJsonToNillable

      protected <T> Nillable<T> decodeJsonToNillable(com.fasterxml.jackson.databind.JsonNode node, Class<T> type) throws DecodingException
      Throws:
      DecodingException
    • decodeJsonToReferencable

      protected <T> Referenceable<T> decodeJsonToReferencable(com.fasterxml.jackson.databind.JsonNode node, Class<T> type) throws DecodingException
      Throws:
      DecodingException