org.apache.turbine.torque
Class TorqueDataDTDTask

org.apache.turbine.torque.TorqueDataDTDTask

public class TorqueDataDTDTask

An extended Texen task used for generating data DTD from an XML schema describing a database structure.

Version:
$Id$
Author:
Fedor Karpelevitch

Field Summary
private  AppData app
          Application model.
private  java.lang.String xmlFile
          XML that describes the database model, this is transformed into the application model object.
 
Constructor Summary
TorqueDataDTDTask()
           
 
Method Summary
 java.lang.String getXmlFile()
          Get the xml schema describing the application model.
 org.apache.velocity.context.Context initControlContext()
          Set up the initialial context for generating the SQL from the XML schema.
 void setXmlFile(java.lang.String v)
          Set the xml schema describing the application model.
 

Field Detail

app

private AppData app
Application model. In this case a database model.

xmlFile

private java.lang.String xmlFile
XML that describes the database model, this is transformed into the application model object.
Constructor Detail

TorqueDataDTDTask

public TorqueDataDTDTask()
Method Detail

getXmlFile

public java.lang.String getXmlFile()
Get the xml schema describing the application model.
Returns:
String xml schema file.

setXmlFile

public void setXmlFile(java.lang.String v)
Set the xml schema describing the application model.
Parameters:
v - The new XmlFile value

initControlContext

public org.apache.velocity.context.Context initControlContext()
Set up the initialial context for generating the SQL from the XML schema.
Returns:
Description of the Returned Value


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.