Interface Writable

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Writable.Context
      Passed to Writable, providing access to additional data specific to a given implementation of the model serialization mechanism.
    • Method Detail

      • write

        void write​(Writable.Context context,
                   Writer writer)
            throws Exception
        Writes this element to the given writer.
        Parameters:
        context - Provides additional data specific to the used implementation of the serialization mechanism.
        writer - The writer to write this element to. Must not be closed by implementations.
        Throws:
        Exception - in case of an error