DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.vocab
Class SchemaToFieldsFiles

java.lang.Object
  extended by 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 Summary
SchemaToFieldsFiles(String xmlFormat, String basePath)
          Constructor for the SchemaToFieldsFiles object
 
Method Summary
static void main(String[] args)
          Walk the schema and create a fields file for each xpath.
static void setDebug(boolean d)
          Sets the debug attribute of the SchemaToFieldsFiles class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaToFieldsFiles

public SchemaToFieldsFiles(String xmlFormat,
                           String basePath)
                    throws Exception
Constructor for the SchemaToFieldsFiles object

Parameters:
basePath - directory into which fields files are written
xmlFormat - NOT YET DOCUMENTED
Throws:
Exception - if basePath does not exist
Method Detail

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

DLESE Tools
v1.6.0