| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.torque.mojo.BaseMojo
org.apache.torque.mojo.AntTaskMojo
org.apache.torque.mojo.TexenTaskMojo
org.apache.torque.mojo.DataModelTaskMojo
org.apache.torque.mojo.DataDtdMojo
public class DataDtdMojo
Generates a DTD for the database tables from a schema XML file
| Field Summary | |
|---|---|
| static String | PROJECT_CONTEXT_PROPERTYThe context property for the name of the project. | 
| Fields inherited from class org.apache.torque.mojo.DataModelTaskMojo | 
|---|
| TARGET_DATABASE_CONTEXT_PROPERTY | 
| Fields inherited from class org.apache.torque.mojo.BaseMojo | 
|---|
| FS, SKIP_PACKAGING_TYPE | 
| Fields inherited from interface org.apache.maven.plugin.Mojo | 
|---|
| ROLE | 
| Constructor Summary | |
|---|---|
| DataDtdMojo() | |
| Method Summary | |
|---|---|
| protected  void | configureTask()Configures the Texen task wrapped by this mojo | 
|  void | executeMojo()Executes the wrapped Texen task. | 
|  String | getArtifactId() | 
| protected  String | getControlTemplate()Returns the path to the control template. | 
|  String | getCopyToFile() | 
| protected  org.apache.commons.configuration.PropertiesConfiguration | getMojoContextProperties()Returns the context properties for the Texen task. | 
|  String | getProjectName()Returns the name of the project | 
|  String | getSchemaXMLFile()Returns the name of the xml file to process. | 
|  boolean | isAntCompatibilityMode() | 
|  void | setAntCompatibilityMode(boolean antCompatibilityMode) | 
|  void | setArtifactId(String artifactId) | 
|  void | setCopyToFile(String copyToFile) | 
|  void | setProjectName(String projectName)Sets the name of the project | 
|  void | setSchemaXMLFile(String xmlFile)Sets the name of the xml file to process. | 
| protected  void | showConfig() | 
| Methods inherited from class org.apache.torque.mojo.TexenTaskMojo | 
|---|
| generateContextProperties, getContextPropertiesPath, getGeneratorTask, getOutputDir, getTemplatePath, getUseClasspath, getUserContextProperties, setContextPropertiesPath, setOutputDir, setTemplatePath, setUseClasspath, setUserContextProperties | 
| Methods inherited from class org.apache.torque.mojo.AntTaskMojo | 
|---|
| getAntProject, getAntTask, getIniatializedAntProject, setAntProject, setAntTask | 
| Methods inherited from class org.apache.torque.mojo.BaseMojo | 
|---|
| afterExecution, beforeExecution, execute, getEncoding, getMavenSession, getProject, getSettings, isForceMojoExecution, isSkip, isStartMavenLogger, setEncoding, setForceMojoExecution, setMavenSession, setProject, setSettings, setSkip, setStartMavenLogger, skipMojo | 
| Methods inherited from class org.apache.maven.plugin.AbstractMojo | 
|---|
| getLog, getPluginContext, setLog, setPluginContext | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String PROJECT_CONTEXT_PROPERTY
| Constructor Detail | 
|---|
public DataDtdMojo()
| Method Detail | 
|---|
protected org.apache.commons.configuration.PropertiesConfiguration getMojoContextProperties()
getMojoContextProperties in class TexenTaskMojoprotected void showConfig()
protected void configureTask()
                      throws org.apache.maven.plugin.MojoExecutionException
configureTask in class DataModelTaskMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected String getControlTemplate()
getControlTemplate in class DataModelTaskMojopublic String getProjectName()
public void setProjectName(String projectName)
project - the name of the project.public String getSchemaXMLFile()
public void setSchemaXMLFile(String xmlFile)
project - the name of the xml file to process.
public void executeMojo()
                 throws org.apache.maven.plugin.MojoExecutionException
TexenTaskMojo
executeMojo in class TexenTaskMojoorg.apache.maven.plugin.MojoExecutionException - if an error occurs during execution.Mojo.execute()public boolean isAntCompatibilityMode()
public void setAntCompatibilityMode(boolean antCompatibilityMode)
public String getCopyToFile()
public void setCopyToFile(String copyToFile)
public String getArtifactId()
public void setArtifactId(String artifactId)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||