Interface Decoder<T,​S>

    • Method Detail

      • decode

        T decode​(S objectToDecode)
          throws DecodingException
        Decode a object to another representation.
        Parameters:
        objectToDecode - the object to encode
        Returns:
        the encoded object
        Throws:
        DecodingException - if an error occurs
      • getSupportedTypes

        default Set<SupportedType> getSupportedTypes()
        Gets the supported types of this decoder.
        Returns:
        the supported key types