Package org.dmd.dms

Examples of org.dmd.dms.SchemaManager


    if (helpFlag.booleanValue()){
      System.out.println(help.toString());
    }

   
    baseSchema = new SchemaManager();
   
    baseWithMVWSchema = new SchemaManager();
   
    DmgSchemaAG  dmg = new DmgSchemaAG();
    baseWithMVWSchema.manageSchema(dmg);
    MvwSchemaAG mvw = new MvwSchemaAG();
    baseWithMVWSchema.manageSchema(mvw);
View Full Code Here


public class TestMetaMain {

    public static void main(String[] args) {

      try{
        SchemaManager sm = new SchemaManager();
       
        DebugInfo.debug(sm.toString());
       
        SchemaDocHtmlFormatter  formatter = new SchemaDocHtmlFormatter("Dark Matter Data", "Admin", "admin@dark-matter-data.org");
       
        formatter.dumpHtml(sm, "NONE", "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/schema", "NONE");
      }
View Full Code Here

   
    contexts    = new TreeMap<String, RunContextItemCollection>();
    defaultContext   = new RunContextItemCollection("Default");
    contexts.put("Default", defaultContext);
   
    readSchemas   = new SchemaManager();
    codeGenModule  = null;
    application    = null;
    needMvwComms  = false;
   
    centralDmpErrorHandler  = null;
View Full Code Here

        cl.addOption("-checkRules",  checkRules,  "Indicates if you want to dynamically instantiate and validate rule definitions.");
        cl.addOption("-checkOnly",  checkOnly,  "Indicates if you want to only check rule definitions, not generate code.");
   
    cl.parseArgs(args);
   
    dmsSchema = new SchemaManager();
   
    if (helpFlag.booleanValue()){
      System.out.println(help.toString());
    }
   
View Full Code Here

                    continue;
                  }
                 
                  try {
                    // Create a new manager into which the parsed schemas will be loaded
                    readSchemas = new SchemaManager();
                   
                    // Parse the specified schema
            SchemaDefinition sd = parser.parseSchema(readSchemas, tokens.nth(0).getValue(), false);
           
            // Generate the code
View Full Code Here

  }
 
  void generateFromConfig(ConfigLocation location){
      try {
        // Create a new manager into which the parsed schemas will be loaded
        readSchemas = new SchemaManager();
       
        // Parse the specified schema
      SchemaDefinition sd = parser.parseSchema(readSchemas, location.getConfigName(), false);
     
      if ((sd != null) && checkRules.booleanValue()){
View Full Code Here

   
    if (helpFlag.booleanValue()){
      System.out.println(help.toString());
    }
   
    baseSchema = new SchemaManager();
   
    baseWithDMGSchema = new SchemaManager();
   
    // Schemas that are read on the basis of the schemaToLoad attribute
    readSchemas = null;
   
    StringArrayList searchdirs = new StringArrayList();
View Full Code Here


  }
 
  void loadRequiredSchemas() throws ResultException, DmcValueException, DmcValueExceptionSet, DmcRuleExceptionSet {
    readSchemas = new SchemaManager();
    schemaParser.parseSchema(readSchemas, parser.getTheConfig().getSchemaToLoad(), true);
  }
View Full Code Here

//    DebugInfo.debug("url: " + url.getFile());
//    FileUtils.copyURLToFile(url, new File(outdir + File.separator + "dmsstyle.css"));

   
    try {
      SchemaManager manager = new SchemaManager();
     
      for(SchemaDefinition sd: allSchemasByID.values()){
        if (manager.isSchema(sd.getName().getNameString()) == null)
          manager.manageSchemaInternal(sd,false);
      }
     
      Summarizer summarizer = new Summarizer(manager,outdir);
     
      summarizer.dumpTextSummary();
View Full Code Here

    DebugInfo.debug("url: " + url.getFile());
    FileUtils.copyURLToFile(url, new File(outdir + File.separator + "dmsstyle.css"));

   
    try {
      SchemaManager manager = new SchemaManager();
     
      for(SchemaDefinition sd: allSchemasByID.values()){
        if (manager.isSchema(sd.getName().getNameString()) == null)
          manager.manageSchemaInternal(sd,false);
      }
     
      Summarizer summarizer = new Summarizer(manager,outdir);
     
      summarizer.dumpTextSummary();
View Full Code Here

TOP

Related Classes of org.dmd.dms.SchemaManager

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.