Search in sources :

Example 6 with DfGenerator

use of org.dbflute.friends.velocity.DfGenerator in project dbflute-core by dbflute.

the class Database method createOldClassHandler.

protected DfOldClassHandler createOldClassHandler() {
    final DfGenerator generator = getGeneratorInstance();
    final DfLanguageDependency lang = getBasicProperties().getLanguageDependency();
    final DfLanguageClassPackage pkg = lang.getLanguageClassPackage();
    return new DfOldClassHandler(generator, pkg, getTableList());
}
Also used : DfLanguageDependency(org.dbflute.logic.generate.language.DfLanguageDependency) DfLanguageClassPackage(org.dbflute.logic.generate.language.pkgstyle.DfLanguageClassPackage) DfGenerator(org.dbflute.friends.velocity.DfGenerator) DfOldClassHandler(org.dbflute.logic.generate.deletefile.DfOldClassHandler)

Aggregations

DfGenerator (org.dbflute.friends.velocity.DfGenerator)6 IOException (java.io.IOException)1 SQLException (java.sql.SQLException)1 BuildException (org.apache.tools.ant.BuildException)1 Context (org.apache.velocity.context.Context)1 MethodInvocationException (org.apache.velocity.exception.MethodInvocationException)1 ParseErrorException (org.apache.velocity.exception.ParseErrorException)1 ResourceNotFoundException (org.apache.velocity.exception.ResourceNotFoundException)1 DfFlutistLog4JLogSystem (org.dbflute.friends.velocity.DfFlutistLog4JLogSystem)1 DfOldClassHandler (org.dbflute.logic.generate.deletefile.DfOldClassHandler)1 DfLanguageDependency (org.dbflute.logic.generate.language.DfLanguageDependency)1 DfLanguageClassPackage (org.dbflute.logic.generate.language.pkgstyle.DfLanguageClassPackage)1