com.ibm.cics.jcicsx

Interface Serializer<T>

  • Type Parameters:
    T - The type of object that the Serializer serializes
    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 Serializer<T>

    A Serializer is capable of transforming an object of type T into a byte-array representation and writing it to a BITContainer.

    A number of built-in Serializer factories are available via static methods on the Serializers class:

    Since CICS TS version:
    5.6
    Since package version:
    1.000.0
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void serialize(T object, java.io.OutputStream out)
      Serializes the supplied object to the supplied OutputStream.