diva.sketch
Class SketchWriter
java.lang.Object
diva.sketch.SketchWriter
- All Implemented Interfaces:
- ModelWriter
public class SketchWriter
- extends Object
- implements ModelWriter
Given a sketch model, SketchWriter writes out the model to a
character stream. The output is in XML format.
- Version:
- $Revision: 1.21 $
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu)
Constructor Summary |
SketchWriter()
Construct an empty sketch writer. |
Method Summary |
void |
writeModel(Object m,
Writer writer)
Write the symbols in the sketch model to the character stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SketchWriter
public SketchWriter()
- Construct an empty sketch writer.
writeModel
public void writeModel(Object m,
Writer writer)
throws IOException
- Write the symbols in the sketch model to the character stream.
- Specified by:
writeModel
in interface ModelWriter
- Throws:
IOException
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.