Class SerializerChain


  • public final class SerializerChain
    extends java.lang.Object
    Chain of serializers for the output.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Serializer root  
    • Constructor Summary

      Constructors 
      Constructor Description
      SerializerChain()
      Constructs a serializer chain.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(java.io.OutputStream outputStream, java.lang.Object element)
      Process the output.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerializerChain

        public SerializerChain()
        Constructs a serializer chain.
    • Method Detail

      • process

        public void process​(java.io.OutputStream outputStream,
                            java.lang.Object element)
                     throws java.io.IOException
        Process the output.
        Parameters:
        outputStream - the output stream to write to.
        element - the element to serialize.
        Throws:
        java.io.IOException - in the case of IO error.