org.apache.ojb.broker.ant
Class WriteDtdToFileCommand
java.lang.Object
org.apache.ojb.broker.ant.Command
org.apache.ojb.broker.ant.WriteDtdToFileCommand
public class WriteDtdToFileCommand
- extends Command
The command for creating a data DTD for a given database model.
- Version:
- $Revision: 1.1 $
- Author:
- Thomas Dudziak
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteDtdToFileCommand
public WriteDtdToFileCommand()
setOutputFile
public void setOutputFile(File outputFile)
- Sets the file to output the DTD to.
- Parameters:
outputFile - The output file
isRequiringModel
public boolean isRequiringModel()
-
execute
public void execute(org.apache.tools.ant.Task task,
org.apache.ddlutils.model.Database dbModel,
DescriptorRepository objModel)
throws org.apache.tools.ant.BuildException
- Executes this command.
- Specified by:
execute in class Command
- Parameters:
task - The executing taskdbModel - The database modelobjModel - The object model
- Throws:
org.apache.tools.ant.BuildException
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.