|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.texen.ant.TexenTask
org.apache.torque.task.TorqueDataModelTask
org.apache.torque.task.TorqueDocumentationTask
public class TorqueDocumentationTask
An ant task for generating output by using Velocity
| Field Summary | |
|---|---|
private String |
outputFormat
output format for the generated docs |
| Fields inherited from class org.apache.torque.task.TorqueDataModelTask |
|---|
context, databaseNames, dataModelDbMap, dataModels, filesets, sqldbmap, xmlFile |
| Fields inherited from class org.apache.texen.ant.TexenTask |
|---|
contextProperties, controlTemplate, inputEncoding, logFile, outputDirectory, outputEncoding, outputFile, resourceLoaderModificationCheckInterval, templatePath, useClasspath, useResourceLoaderCache |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
TorqueDocumentationTask()
|
|
| Method Summary | |
|---|---|
String |
getOutputFormat()
Get the current output format. |
org.apache.velocity.context.Context |
initControlContext()
Place our target package value into the context for use in the templates. |
void |
setOutputFormat(String v)
Set the current output format. |
| Methods inherited from class org.apache.torque.task.TorqueDataModelTask |
|---|
addFileset, getDatabaseParser, getDataModel, getDataModelDbMap, getDataModelFiles, getDataModels, getFilesets, getPopulatedDataModels, getSqlDbMap, getTargetDatabase, getTargetPackage, getXmlFile, populateInitialContext, setContextProperties, setFilesets, setSqlDbMap, setTargetDatabase, setTargetPackage, setXmlFile |
| Methods inherited from class org.apache.texen.ant.TexenTask |
|---|
cleanup, execute, getContextProperties, getControlTemplate, getLogFile, getOutputDirectory, getOutputFile, getTemplatePath, setControlTemplate, setInputEncoding, setLogFile, setOutputDirectory, setOutputEncoding, setOutputFile, setResourceLoaderModificationCheckInterval, setTemplatePath, setUseClasspath, setUseResourceLoaderCache |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String outputFormat
| Constructor Detail |
|---|
public TorqueDocumentationTask()
| Method Detail |
|---|
public String getOutputFormat()
public void setOutputFormat(String v)
v - output format
public org.apache.velocity.context.Context initControlContext()
throws Exception
initControlContext in class TorqueDataModelTaskException - a generic exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||