Package com.asakusafw.dmdl.java.spi

Examples of com.asakusafw.dmdl.java.spi.JavaDataModelDriver


        return ((NamedType) Models.toType(f, aClass)).getName();
    }

    @SuppressWarnings("unchecked")
    private Class<? extends DirectFileInputDescription> generate(final Description description) {
        emitDrivers.add(new JavaDataModelDriver() {
            @Override
            public void generateResources(EmitContext context, ModelDeclaration model) throws IOException {
                EmitContext next = new EmitContext(
                        context.getSemantics(),
                        context.getConfiguration(),
View Full Code Here


        return ((NamedType) Models.toType(f, aClass)).getName();
    }

    @SuppressWarnings("unchecked")
    private Class<? extends DirectFileOutputDescription> generate(final Description description) {
        emitDrivers.add(new JavaDataModelDriver() {
            @Override
            public void generateResources(EmitContext context, ModelDeclaration model) throws IOException {
                EmitContext next = new EmitContext(
                        context.getSemantics(),
                        context.getConfiguration(),
View Full Code Here

    /**
     * Generates all models from source repository in the current configuration.
     * @throws IOException if failed to process DMDL scripts
     */
    public void process() throws IOException {
        JavaDataModelDriver driver = new CompositeDataModelDriver(conf.getServiceClassLoader());
        process(driver);
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.dmdl.java.spi.JavaDataModelDriver

Copyright © 2018 www.massapicom. 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.