From: G?nther B. <br...@us...> - 2002-01-31 07:34:49
|
Update of /cvsroot/xpg-xml/edu/iicm/xpg/statemachine In directory usw-pr-cvs1:/tmp/cvs-serv28789 Modified Files: InitStateMachine.java Log Message: DataObject included; first try of handling attributes Index: InitStateMachine.java =================================================================== RCS file: /cvsroot/xpg-xml/edu/iicm/xpg/statemachine/InitStateMachine.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** InitStateMachine.java 2002/01/29 10:43:13 1.1.1.1 --- InitStateMachine.java 2002/01/31 07:34:46 1.2 *************** *** 1,493 **** ! /*********************************************************************** ! * @(#)$RCSfile$ $Revision$ $Date$ ! * ! * Copyright (c) 2001 IICM, Graz University of Technology ! * Schiesstattgasse 4a, A-8010 Graz, Austria. ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU Lesser General Public License (LGPL) ! * as published by the Free Software Foundation; either version 2.1 of ! * the License, or (at your option) any later version. [...966 lines suppressed...] ! STATE_CLASSNAME, ! STATE_CLASSNAME); ! ! File input_file = new File ( filename ); ! if (!input_file.exists()) ! { ! System.err.println("InitStateMachine: File " + filename + " not existing"); ! return; ! } ! FileReader file_reader = new FileReader(input_file); ! xml_reader.parse(new InputSource(file_reader)); ! } ! catch (Exception exc) ! { ! exc.printStackTrace(); ! } ! } ! ! } ! |