Interface Serializer<P,​I,​X extends Exception>

    • Method Detail

      • serialize

        @NonNull P serialize​(@NonNull I input)
                      throws X extends Exception
        Convert an input into a product.
        Parameters:
        input - Input
        Returns:
        A product
        Throws:
        NullPointerException - if input is null
        X - when input is not valid
        X extends Exception