DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.vocab
Class FieldInfoWriter

java.lang.Object
  extended by org.dlese.dpc.schemedit.vocab.FieldInfoWriter

public class FieldInfoWriter
extends Object

Class to generate fields files for given framework.

NOTE: currently only generates field DEFINITION!

Author:
ostwald

Constructor Summary
FieldInfoWriter(String xmlFormat, String basePath)
          Constructor for the FieldInfoWriter 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 FieldInfoWriter class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldInfoWriter

public FieldInfoWriter(String xmlFormat,
                       String basePath)
                throws Exception
Constructor for the FieldInfoWriter 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 FieldInfoWriter class

Parameters:
d - The new debug value

DLESE Tools
v1.6.0