pt.ist.fenixframework
Class DmlCompiler

Package class diagram package DmlCompiler
java.lang.Object
  extended by pt.ist.fenixframework.DmlCompiler

public class DmlCompiler
extends Object


Constructor Summary
DmlCompiler()
           
 
Method Summary
static DomainModel compile(CompilerArgs compArgs)
          Runs the DML compiler This is the main entry point for, programmatically, running the DML compiler.
static DomainModel getDomainModel(CompilerArgs compArgs)
           
static DomainModel getDomainModel(List<URL> dmlFilesURLs)
           
static DomainModel getDomainModel(List<URL> dmlFilesURLs, boolean checkForMissingExternals)
           
static void main(String[] args)
          Runs the DML compiler This is the main entry point for running the DML compiler, from the command line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DmlCompiler

public DmlCompiler()
Method Detail

main

public static void main(String[] args)
                 throws DmlCompilerException
Runs the DML compiler This is the main entry point for running the DML compiler, from the command line. This method will create the CompilerArgs from the command line parameters, and then invoke compile(pt.ist.fenixframework.dml.CompilerArgs).

Parameters:
args - All the compiler's parameters
Throws:
DmlCompilerException
See Also:
CompilerArgs

compile

public static DomainModel compile(CompilerArgs compArgs)
                           throws DmlCompilerException
Runs the DML compiler This is the main entry point for, programmatically, running the DML compiler. The compiler will first create the domain model, and then run the code generator.

Parameters:
compArgs - All the compiler's parameters
Returns:
The DomainModel
Throws:
DmlCompilerException
See Also:
CompilerArgs

getDomainModel

public static DomainModel getDomainModel(CompilerArgs compArgs)
                                  throws DmlCompilerException
Throws:
DmlCompilerException

getDomainModel

public static DomainModel getDomainModel(List<URL> dmlFilesURLs)
                                  throws DmlCompilerException
Throws:
DmlCompilerException

getDomainModel

public static DomainModel getDomainModel(List<URL> dmlFilesURLs,
                                         boolean checkForMissingExternals)
                                  throws DmlCompilerException
Throws:
DmlCompilerException


Copyright © 2013. All Rights Reserved.