Class SIFFieldInfoWriter

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

public class SIFFieldInfoWriter extends Object
Class to generate fields files for given framework.

NOTE: currently only generates field DEFINITION!

Author:
ostwald
  • Constructor Details

    • SIFFieldInfoWriter

      public SIFFieldInfoWriter(String xmlFormat, String basePath) throws Exception
      Constructor for the SIFFieldInfoWriter object
      Parameters:
      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 SIFFieldInfoWriter class
      Parameters:
      d - The new debug value