KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > uml > api > UML2CCM


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
5 Contact: openccm-team@objectweb.org
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 USA
21
22 Initial developer(s): Pierre Carpentier.
23 Contributor(s): Philippe Merle.
24
25 ---------------------------------------------------------------------
26 $Id: UML2CCM.java,v 1.1 2004/05/26 11:25:34 carpentier Exp $
27 ====================================================================*/

28
29 package org.objectweb.openccm.uml.api;
30
31 /**
32  * Interface of the uml2ccm command.
33  *
34  * @author <a HREF="mailto:Pierre.Carpentier@lifl.fr">Pierre Carpentier</a>
35  *
36  * @version 1.1
37  */

38
39 public interface UML2CCM
40          extends org.objectweb.openccm.command.api.Compiler
41 {
42
43     /**
44      * Inits the UML repository.
45      *
46      * @return TRUE if the UML repository is initialized.
47      */

48     public boolean
49     initUMLRepository();
50
51
52     /**
53      * Parses the UML XMI file for reading the UML Package.
54      *
55      * @param filename The filename of the UML XMI file.
56      *
57      * @throws org.xml.sax.SAXException If any parse errors occur.
58      * @throws javax.xml.parsers.ParserConfigurationException If a DocumentBuilder cannot be
59      * created which satisfies the configuration requested.
60      * @throws java.io.IOException If any IO errors occur.
61      */

62     public void
63     runTransformation(String JavaDoc filename)
64     throws
65         org.xml.sax.SAXException JavaDoc,
66         javax.xml.parsers.ParserConfigurationException JavaDoc,
67         java.io.IOException JavaDoc;
68     
69     
70     /**
71      * Sets the monolithic flag to indicate if the Java implementation
72      * will be the monolithic or CIF version.
73      *
74      * @param monolithic TRUE if the Java implementation should be
75      * the monolithic version.
76      */

77     public void
78     setMonolithic(boolean monolithic);
79     
80     
81     /**
82      * Sets the output directory for the generated files.
83      *
84      * @param directory The output directory for the generated files.
85      */

86     public void
87     setOutputDirectory(String JavaDoc directory);
88
89 }
90
Popular Tags