|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ddlutils.task.WriteDtdToFileCommand
Creates a DTD that specifies the layout for data XML files.
This sub task does not require a database connection, so the dataSource
sub element of the enclosing task can be omitted.
| Constructor Summary | |
WriteDtdToFileCommand()
|
|
| Method Summary | |
void |
execute(DatabaseTaskBase task,
Database model)
Executes this command. |
boolean |
isRequiringModel()
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(DatabaseTaskBase, Database) cannot be null. |
void |
setOutputFile(File outputFile)
Specifies the name of the file to write 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(DatabaseTaskBase, Database) cannot be null.
isRequiringModel in interface Commandtrue if this command requires a model
public void execute(DatabaseTaskBase task,
Database model)
throws org.apache.tools.ant.BuildException
execute in interface Commandtask - 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 | |||||||||