Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: joelib/io/types/cml/ModuleInterface.java


1   ///////////////////////////////////////////////////////////////////////////////
2   //Filename: $RCSfile: ModuleInterface.java,v $
3   //Purpose:  Chemical Markup Language.
4   //Language: Java
5   //Compiler: JDK 1.4
6   //Authors:  steinbeck@ice.mpg.de, gezelter@maul.chem.nd.edu,
7   //      egonw@sci.kun.nl, wegnerj@informatik.uni-tuebingen.de
8   //Version:  $Revision: 1.4 $
9   //      $Date: 2003/08/19 13:11:26 $
10  //      $Author: wegner $
11  //
12  //Copyright (C) 1997-2003  The Chemistry Development Kit (CDK) project
13  //Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
14  //
15  //This program is free software; you can redistribute it and/or
16  //modify it under the terms of the GNU Lesser General Public License
17  //as published by the Free Software Foundation; either version 2.1
18  //of the License, or (at your option) any later version.
19  //All we ask is that proper credit is given for our work, which includes
20  //- but is not limited to - adding the above copyright notice to the beginning
21  //of your source code files, and to any copyright notice that you may distribute
22  //with programs based on this work.
23  //  
24  //This program is distributed in the hope that it will be useful,
25  //but WITHOUT ANY WARRANTY; without even the implied warranty of
26  //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  //GNU Lesser General Public License for more details.
28  //  
29  //You should have received a copy of the GNU Lesser General Public License
30  //along with this program; if not, write to the Free Software
31  //Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  ///////////////////////////////////////////////////////////////////////////////
33  package joelib.io.types.cml;
34  
35  import org.xml.sax.*;
36  
37  
38  /**
39   * This interface describes the procedures classes must implement to be plugable
40   * into the CMLHandler. Most procedures reflect those in SAX2.
41   *
42   * @author egonw
43   * @author c.steinbeck@uni-koeln.de
44   * @author gezelter@maul.chem.nd.edu
45   * @author     wegnerj
46   * @license LGPL
47   * @cvsversion    $Revision: 1.4 $, $Date: 2003/08/19 13:11:26 $
48   **/
49  public interface ModuleInterface
50  {
51      //~ Methods ////////////////////////////////////////////////////////////////
52  
53      void characterData(char[] ch, int start, int length);
54  
55      void endDocument();
56  
57      void endElement(String uri, String local, String raw);
58  
59      void inherit(ModuleInterface conv);
60  
61      CDOInterface returnCDO();
62  
63      void startDocument();
64  
65      void startElement(String uri, String local, String raw, Attributes atts);
66  }
67  ///////////////////////////////////////////////////////////////////////////////
68  //  END OF FILE.
69  ///////////////////////////////////////////////////////////////////////////////