123124125126127128129130131132133
/* * Transform the XML database schema into an * object that represents our model. */ XmlToAppData xmlParser = new XmlToAppData(); app = xmlParser.parseFile(xmlFile); /* * Place our model in the context. */ context.put("appData", app);
229230231232233234235236237238239
/* * Transform the XML database schema into an * object that represents our model. */ XmlToAppData xmlParser = new XmlToAppData(); app = xmlParser.parseFile(xmlFile); Database db = app.getDatabase(databaseName); if (db == null) { db = app.getDatabases()[0];
262263264265266267268269270271272
/* * Transform the XML database schema into an * object that represents our model. */ XmlToAppData xmlParser = new XmlToAppData(); app = xmlParser.parseFile(xmlFile); /* * Place our model in the context. */ Database dbm = app.getDatabase(databaseName);
142143144145146147148149150151152
* XML schema. Can someone document the * double pass here? */ XmlToAppData xmlParser = new XmlToAppData(); app = xmlParser.parseFile(xmlFile); xmlParser.parseFile(xmlFile); /* * Place some initial values in the context. * most of these could be automatically fed
143144145146147148149150151152153
* double pass here? */ XmlToAppData xmlParser = new XmlToAppData(); app = xmlParser.parseFile(xmlFile); xmlParser.parseFile(xmlFile); /* * Place some initial values in the context. * most of these could be automatically fed * into the context with the contextProperties
119120121122123124125126127128129
186187188189190191192193194195196
/* * Transform the XML database schema into an * object that represents our model. */ XmlToAppData xmlParser = new XmlToAppData(); app = xmlParser.parseFile(xmlFile); Database db = app.getDatabase(databaseName); if (db==null) { db = app.getDatabases()[0];
149150151152153154155156157158159
216217218219220221222223224225226
if (xmlFile != null) { // Transform the XML database schema into // data model object. xmlParser = new XmlToAppData(); AppData ad = xmlParser.parseFile(xmlFile); xmlParser.parseFile(xmlFile); ad.setName(grokName(xmlFile)); dataModels.addElement(ad); } else