Class SchemaToFieldsFiles

java.lang.Object
org.dlese.dpc.schemedit.vocab.SchemaToFieldsFiles

public class SchemaToFieldsFiles extends Object
EXPIREMENTAL - Class to extract definitions from framework schemas and populate "fields_files"

NOTE: currently only generates field DEFINITION!

Author:
ostwald
  • Constructor Details

    • SchemaToFieldsFiles

      public SchemaToFieldsFiles(String xmlFormat, String basePath) throws Exception
      Constructor for the SchemaToFieldsFiles object
      Parameters:
      xmlFormat - NOT YET DOCUMENTED
      basePath - directory into which fields files are written
      Throws:
      Exception - if basePath does not exist
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Walk the schema and create a fields file for each xpath.
      Parameters:
      args - The command line arguments
      Throws:
      Exception - NOT YET DOCUMENTED
    • setDebug

      public static void setDebug(boolean d)
      Sets the debug attribute of the SchemaToFieldsFiles class
      Parameters:
      d - The new debug value