code: public static boolean start(RootDoc root) {
          try {
              String filename = "classes.xmi";
              PrintWriter out = new PrintWriter((Writer)new FileWriter(filename));
              XMIDoclet doclet = new XMIDoclet(out);
              doclet.process(root);
              out.flush();
              return true;
          } catch (Exception e) {
              System.err.println(e.toString());
              return false;
          }
      }
docs: Method that must be implemented by JavaDoc Doclets.
  
  @param root the RootDoc element determined by JavaDoc