org.umber.ballast.util
Class BallastAntTask

java.lang.Object
  extended byTask
      extended byorg.umber.core.ant.UmberAntTask
          extended byorg.umber.ballast.util.BallastAntTask

public class BallastAntTask
extends UmberAntTask

Ant task for invoking the Ballast code generator.

Author:
jsheets
See Also:
Serialized Form

Nested Class Summary
static class BallastAntTask.DtdToBean
          JavaBean to encapsulate <dtd-to-bean> element inside <ballast> Ant task.
static class BallastAntTask.DtdToFile
          JavaBean to encapsulate <dtd-to-file> element inside <ballast> Ant task.
static class BallastAntTask.JdbcToBean
          JavaBean to encapsulate <jdbc-to-bean> element inside <ballast> Ant task.
 
Constructor Summary
BallastAntTask()
           
 
Method Summary
 void addConfiguredDtdToBean(BallastAntTask.DtdToBean dtdToBean)
          Loads the contents of the next <dtd-to-bean> child element.
 void addConfiguredDtdToFile(BallastAntTask.DtdToFile dtdToFile)
          Loads the contents of the next <dtd-to-file> child element.
 void addConfiguredJdbcToBean(BallastAntTask.JdbcToBean jdbcToBean)
          Loads the contents of the next <jdbc-to-bean> child element.
 void execute()
          Runs the Transformer with the supplied parameters.
 
Methods inherited from class org.umber.core.ant.UmberAntTask
extractPcdatas, extractText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BallastAntTask

public BallastAntTask()
Method Detail

addConfiguredDtdToBean

public void addConfiguredDtdToBean(BallastAntTask.DtdToBean dtdToBean)
Loads the contents of the next <dtd-to-bean> child element.

Parameters:
dtdToBean - the <dtd-to-bean> element

addConfiguredDtdToFile

public void addConfiguredDtdToFile(BallastAntTask.DtdToFile dtdToFile)
Loads the contents of the next <dtd-to-file> child element.

Parameters:
dtdToFile - the <dtd-to-file> element

addConfiguredJdbcToBean

public void addConfiguredJdbcToBean(BallastAntTask.JdbcToBean jdbcToBean)
Loads the contents of the next <jdbc-to-bean> child element.

Parameters:
jdbcToBean - the <jdbc-to-bean> element

execute

public void execute()
             throws BuildException
Runs the Transformer with the supplied parameters.

Throws:
BuildException - if required parameters are missing
See Also:
org.apache.tools.ant.Task#execute()