Package com.asakusafw.dmdl.util

Examples of com.asakusafw.dmdl.util.AnalyzeTask.process()


        return compiler.getClassLoader();
    }

    private DmdlSemantics analyze(DmdlSourceRepository source) throws IOException {
        AnalyzeTask analyzer = new AnalyzeTask("testing", getClass().getClassLoader());
        return analyzer.process(source);
    }

    private List<VolatileJavaFile> emit(DmdlSourceRepository source) throws IOException {
        ModelFactory factory = Models.getModelFactory();
        VolatileEmitter emitter = new VolatileEmitter();
View Full Code Here


        DmdlSourceResource repo = new DmdlSourceResource(Arrays.asList(resource), Charset.forName("UTF-8"));
        ClassLoader loader = ExcelTesterRoot.class.getClassLoader();
        AnalyzeTask task = new AnalyzeTask(testName.getMethodName(), loader);
        try {
            DmdlSemantics results = task.process(repo);
            ModelDeclaration decl = results.findModelDeclaration(model);
            assertThat(dmdl + ":" + model, decl, not(nullValue()));
            return decl;
        } catch (IOException e) {
            throw new AssertionError(e);
View Full Code Here

        LOG.info("テンプレートの生成を終了しました");
    }

    private DmdlSemantics analyze() throws IOException {
        AnalyzeTask analyzer = new AnalyzeTask(generator.getTitle(), serviceClassLoader);
        return analyzer.process(repository);
    }
}
View Full Code Here

    }

    private DmdlSemantics analyze() throws IOException {
        AnalyzeTask analyzer =
                new AnalyzeTask(Messages.getString("GenerateTask.name"), conf.getServiceClassLoader()); //$NON-NLS-1$
        return analyzer.process(conf.getSource());
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.