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: ModelWriter.java 38798 2005-07-08 20:00:01Z cxh $
Author:
Heloise Hse

Method Summary
 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