public static void createTopLevelClassesXML(String outputDir,String templatesPath,boolean lenient) throws CompilerException {
  try {
    AsDocHelper asDocHelp=new AsDocHelper(outputDir + "toplevel.xml",outputDir + "tempdita",outputDir,outputDir + "tempdita" + File.separator+ "ASDoc_Config.xml");
    asDocHelp.createTopLevelClasses(lenient);
  }
 catch (  Throwable t) {
    t.printStackTrace();
    CompilerMessage c=new CouldNotCreate("toplevel.xml",t.getMessage());
    ThreadLocalToolkit.log(c);
    throw c;
  }
}

public static void createTopLevelClassesXML ( String outputDir , String templatesPath , boolean lenient ) throws CompilerException { try { AsDocHelper asDocHelp = new AsDocHelper ( outputDir + "toplevel.xml" , outputDir + "tempdita" , outputDir , outputDir + "tempdita" + File . separator + "ASDoc_Config.xml" ) ; asDocHelp . createTopLevelClasses ( lenient ) ; } catch ( Throwable t ) { t . printStackTrace ( ) ; CompilerMessage c = new CouldNotCreate ( "toplevel.xml" , t . getMessage ( ) ) ; ThreadLocalToolkit . log ( c ) ; throw c ; } }
this method is called to kick off the dita generation process . it uses the asdochelper class as entry point to dita generation .
