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 ; } }
Method that must be implemented by JavaDoc Doclets .