org.umber.ballast.schema
Class TemplateRunner

java.lang.Object
  extended byorg.umber.ballast.schema.TemplateRunner

public class TemplateRunner
extends java.lang.Object

Command-line application to generate files from DTD schema definitions, using Velocity templates.

Author:
jsheets

Constructor Summary
TemplateRunner()
           
 
Method Summary
static void main(java.lang.String[] args)
          Loads a DTD resource and sends it through SchemaGenerator with one or more Velocity template resources.
 void run(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateRunner

public TemplateRunner()
Method Detail

run

public void run(java.lang.String[] args)
         throws BallastGeneratorException
Throws:
BallastGeneratorException

main

public static void main(java.lang.String[] args)
Loads a DTD resource and sends it through SchemaGenerator with one or more Velocity template resources. All arguments must be relative to the CLASSPATH.

Parameters:
args - output directory, DTD, and one or more Velocity templates
See Also:
SchemaGenerator