|
|||||||||
| 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.TexenTaskMojo
org.apache.torque.mojo.DataModelTaskMojo
org.apache.torque.mojo.DataDtdMojo
public class DataDtdMojo
Generates a data dtd from schema files.
| Field Summary | |
|---|---|
static String |
PROJECT_CONTEXT_PROPERTY
The context property for the name of the project. |
| Fields inherited from class org.apache.torque.mojo.DataModelTaskMojo |
|---|
TARGET_DATABASE_CONTEXT_PROPERTY |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DataDtdMojo()
Creates a new SQLMojo object. |
|
| Method Summary | |
|---|---|
protected void |
configureTask()
Configures the Texen task which is wrapped by this mojo. |
protected String |
getControlTemplate()
Returns the path to the control template. |
protected org.apache.commons.configuration.PropertiesConfiguration |
getMojoContextProperties()
Returns the context properties for the Texen task. |
String |
getProjectName()
Returns the name of the project, which is used as prefix for the name of the datadtd. |
String |
getXmlFile()
Returns the name of the xml file to process. |
void |
setProjectName(String projectName)
Sets the name of the project, which is used as prefix for the name of the datadtd. |
void |
setXmlFile(String xmlFile)
Sets the name of the xml file to process. |
| Methods inherited from class org.apache.torque.mojo.DataModelTaskMojo |
|---|
execute, getReportFile, getSchemaDir, getSchemaExcludes, getSchemaIncludes, getSqlDbMap, getTargetDatabase, getTargetPackage, isRunOnlyOnSchemaChange, schemaChanged, setReportFile, setRunOnlyOnSchemaChange, setSchemaDir, setSchemaExcludes, setSchemaIncludes, setSqlDbMap, setTargetDatabase, setTargetPackage |
| Methods inherited from class org.apache.torque.mojo.TexenTaskMojo |
|---|
generateContextProperties, getAntProject, getContextPropertiesPath, getGeneratorTask, getOutputDir, getProject, getTemplatePath, getUseClasspath, getUserContextProperties, setContextPropertiesPath, setGeneratorTask, setOutputDir, setProject, setTemplatePath, setUseClasspath, setUserContextProperties |
| 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 TexenTaskMojo
protected void configureTask()
throws org.apache.maven.plugin.MojoExecutionException
configureTask in class DataModelTaskMojoorg.apache.maven.plugin.MojoExecutionException - if an error occurs when setting the Tasks
properties.DataModelTaskMojo.configureTask()protected String getControlTemplate()
getControlTemplate in class DataModelTaskMojopublic String getProjectName()
public void setProjectName(String projectName)
project - the name of the project.public String getXmlFile()
public void setXmlFile(String xmlFile)
project - the name of the xml file to process.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||