Source code: joelib/io/types/cml/CMLMoleculeWriter.java
1 ///////////////////////////////////////////////////////////////////////////////
2 //Filename: $RCSfile: CMLMoleculeWriter.java,v $
3 //Purpose: Chemical Markup Language.
4 //Language: Java
5 //Compiler: JDK 1.4
6 //Authors: Joerg K. Wegner
7 //Version: $Revision: 1.7 $
8 // $Date: 2003/08/19 13:11:26 $
9 // $Author: wegner $
10 //
11 //Copyright (C) 1997-2003 The Chemistry Development Kit (CDK) project
12 //Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
13 //
14 //This program is free software; you can redistribute it and/or modify
15 //it under the terms of the GNU General Public License as published by
16 //the Free Software Foundation version 2 of the License.
17 //
18 //This program is distributed in the hope that it will be useful,
19 //but WITHOUT ANY WARRANTY; without even the implied warranty of
20 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 //GNU General Public License for more details.
22 ///////////////////////////////////////////////////////////////////////////////
23 package joelib.io.types.cml;
24
25 import joelib.molecule.*;
26
27 import joelib.util.*;
28
29 /*==========================================================================*
30 * IMPORTS
31 *========================================================================== */
32 import java.io.*;
33
34 import java.util.*;
35
36
37 /*==========================================================================*
38 * INTERFACE DECLARATION
39 *========================================================================== */
40
41 /**
42 * Interface for a CML molecule writer.
43 *
44 * @author wegnerj
45 * @license GPL
46 * @cvsversion $Revision: 1.7 $, $Date: 2003/08/19 13:11:26 $
47 * @cite wil01
48 */
49 public interface CMLMoleculeWriter
50 {
51 //~ Methods ////////////////////////////////////////////////////////////////
52
53 /*-------------------------------------------------------------------------*
54 * private static member variables
55 *------------------------------------------------------------------------- */
56 /*-------------------------------------------------------------------------*
57 * public methods
58 *------------------------------------------------------------------------- */
59 public void write(PrintStream ps, JOEMol mol, boolean writePairData,
60 Vector attribs2write);
61 }
62 ///////////////////////////////////////////////////////////////////////////////
63 // END OF FILE.
64 ///////////////////////////////////////////////////////////////////////////////