Interface Marshallable

  • All Known Implementing Classes:
    ListOfPersonsXStreamMarshallable, PersonXStreamMarshallable, XStreamMarshallableSupport
    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 Marshallable
    The role of an object that can be marshalled to an OutputStream.
    Author:
    Fabrizio Giudici
    Stereotype:
    Role
    • Field Detail

      • _Marshallable_

        static final java.lang.Class<Marshallable> _Marshallable_
    • Method Detail

      • marshal

        void marshal​(@Nonnull
                     java.io.OutputStream os)
              throws java.io.IOException
        Marshals this object to an OutputStream.
        Parameters:
        os - the OutputStream
        Throws:
        java.io.IOException - in case of errors