Interface Unmarshallable

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Unmarshallable
The role of an object that can be unmarshalled.
Author:
Fabrizio Giudici
Stereotype:
Role
  • Field Details

  • Method Details

    • unmarshal

      @Nonnull <T> T unmarshal(@Nonnull InputStream is) throws IOException
      Unmarshalls the object from the given InputStream.
      Type Parameters:
      T - the type of the returned value
      Parameters:
      is - the InputStream
      Returns:
      the unmarshalled object
      Throws:
      IOException - when an error occurs