DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.vocab
Class SIFFieldInfoWriter

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

Constructor Detail

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 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 SIFFieldInfoWriter class

Parameters:
d - The new debug value

DLESE Tools
v1.6.0