Ejemplo n.º 1
0
 public void startDocument() throws SAXException {
   // System.out.println("startDocument()");
   try {
     openDatabase();
   } catch (LoadException le) {
     System.err.println(le.getMessage());
     throw new SAXException(le.getMessage());
   }
   try {
     createIndexer();
   } catch (LoadException le) {
     closeDatabase();
     System.err.println(le.getMessage());
     throw new SAXException(le.getMessage());
   }
 }