|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.task.WriteDtdToFileCommand
The command for creating a data DTD for a given database model.
Constructor Summary | |
WriteDtdToFileCommand()
|
Method Summary | |
void |
execute(org.apache.tools.ant.Task task,
Database model)
Executes this command. |
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(Task, Database) cannot be null . |
void |
setOutputFile(File outputFile)
Sets the file to output the DTD to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WriteDtdToFileCommand()
Method Detail |
public void setOutputFile(File outputFile)
outputFile
- The output filepublic boolean isRequiringModel()
Command.execute(Task, Database)
cannot be null
.
isRequiringModel
in interface Command
true
if this command requires a modelpublic void execute(org.apache.tools.ant.Task task, Database model) throws org.apache.tools.ant.BuildException
execute
in interface Command
task
- The executing taskmodel
- The database model
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |