org.apache.torque.task
Class TorqueDocumentationTask

java.lang.Object
  extended by TexenTask
      extended by org.apache.torque.task.TorqueDataModelTask
          extended by org.apache.torque.task.TorqueDocumentationTask

public class TorqueDocumentationTask
extends TorqueDataModelTask

An ant task for generating output by using Velocity

Version:
$Id: TorqueDocumentationTask.java,v 1.1 2007-10-21 07:57:26 abyrne Exp $
Author:
Martin Poeschl

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
 
Constructor Summary
TorqueDocumentationTask()
           
 
Method Summary
 String getOutputFormat()
          Get the current output format.
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outputFormat

private String outputFormat
output format for the generated docs

Constructor Detail

TorqueDocumentationTask

public TorqueDocumentationTask()
Method Detail

getOutputFormat

public String getOutputFormat()
Get the current output format.

Returns:
the current output format

setOutputFormat

public void setOutputFormat(String v)
Set the current output format.

Parameters:
v - output format

initControlContext

public Context initControlContext()
                           throws Exception
Place our target package value into the context for use in the templates.

Overrides:
initControlContext in class TorqueDataModelTask
Returns:
the context
Throws:
Exception - a generic exception


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.