Source code: joelib/io/types/cml/elements/ElementCML.java
1 ///////////////////////////////////////////////////////////////////////////////
2 // Filename: $RCSfile: ElementCML.java,v $
3 // Purpose: Descriptor base class.
4 // Language: Java
5 // Compiler: JDK 1.4
6 // Authors: Joerg K. Wegner
7 // Version: $Revision: 1.3 $
8 // $Date: 2003/08/19 13:11:27 $
9 // $Author: wegner $
10 //
11 // Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
12 //
13 // This program is free software; you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation version 2 of the License.
16 //
17 // This program is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 ///////////////////////////////////////////////////////////////////////////////
22 package joelib.io.types.cml.elements;
23
24
25 /*==========================================================================*
26 * IMPORTS
27 *========================================================================== */
28 /*==========================================================================*
29 * INTERFACE DECLARATION
30 *========================================================================== */
31
32 /**
33 * Interface for defining CML elements.
34 *
35 * @author wegnerj
36 * @license GPL
37 * @cvsversion $Revision: 1.3 $, $Date: 2003/08/19 13:11:27 $
38 */
39 public interface ElementCML
40 {
41 //~ Methods ////////////////////////////////////////////////////////////////
42
43 public boolean characterData(String trimmedValue);
44
45 /*-------------------------------------------------------------------------*
46 * private static member variables
47 *------------------------------------------------------------------------- */
48 /*-------------------------------------------------------------------------*
49 * public methods
50 *------------------------------------------------------------------------- */
51 public void clear();
52
53 public boolean endElement(String attribute);
54
55 public boolean startElement(String attribute, String value);
56 }
57 ///////////////////////////////////////////////////////////////////////////////
58 // END OF FILE.
59 ///////////////////////////////////////////////////////////////////////////////