Interface IllegalArgumentCodec<S,​D>

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      @NonNull D deserialize​(@NonNull S input)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Produce an internal object based on an external object.
      @NonNull S serialize​(@NonNull D input)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Produce an external object based on an internal object.
    • Method Detail

      • deserialize

        @NonNull D deserialize​(@NonNull S input)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Produce an internal object based on an external object.
        Parameters:
        input - Input object
        Returns:
        Product derived from input
        Throws:
        NullPointerException - if input is null
        IllegalArgumentException - when input is not valid
      • serialize

        @NonNull S serialize​(@NonNull D input)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Produce an external object based on an internal object.
        Parameters:
        input - Input
        Returns:
        An external form object
        Throws:
        NullPointerException - if input is null
        IllegalArgumentException - when input is not valid