Package diva.util

Interface ModelWriter


  • public interface ModelWriter
    ModelWriter is an interface that should be extended by application specified model writers to write out data structures to an output stream. For example, a SketchWriter extends this interface and writes out a sketch model to a stream.
    Version:
    $Id$
    Author:
    Heloise Hse
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void writeModel​(java.lang.Object model, java.io.Writer writer)
      Write the given model to the character stream.
    • Method Detail

      • writeModel

        void writeModel​(java.lang.Object model,
                        java.io.Writer writer)
                 throws java.io.IOException
        Write the given model to the character stream.
        Throws:
        java.io.IOException