public static void generate ( Elements elementUtils , Filer filer , SQLiteDatabaseSchema schema ) throws Exception { BindDaoFactoryBuilder visitor = new BindDaoFactoryBuilder ( elementUtils , filer , schema ) ; visitor . buildDaoFactoryInterface ( elementUtils , filer , schema ) ; String daoFactoryName = BindDaoFactoryBuilder . generateDaoFactoryName ( schema ) ; BindDataSourceBuilder visitorDao = new BindDataSourceBuilder ( elementUtils , filer , schema ) ; visitorDao . buildDataSource ( elementUtils , filer , schema , daoFactoryName ) ; generateSchema ( schema ) ; }
Generate database .