org.apache.turbine.torque
Class TorqueObjectModelTask

org.apache.turbine.torque.TorqueObjectModelTask

public class TorqueObjectModelTask

An ant task for generating output by using Velocity

Version:
$Id$
Author:
Jason van Zyl,
Field Summary
private  AppData app
          Application model.
private  java.lang.String targetPackage
          Target Java package to place the generated files in.
private  java.lang.String xmlFile
          XML schema file.
 
Constructor Summary
TorqueObjectModelTask()
           
 
Method Summary
 java.lang.String getTargetPackage()
          Get the current target package.
 java.lang.String getXmlFile()
          Get the current xml file.
 org.apache.velocity.context.Context initControlContext()
           
 void setTargetPackage(java.lang.String v)
          Set the current target package.
 void setXmlFile(java.lang.String v)
          Set the xml file.
 

Field Detail

app

private AppData app
Application model.

xmlFile

private java.lang.String xmlFile
XML schema file.

targetPackage

private java.lang.String targetPackage
Target Java package to place the generated files in.
Constructor Detail

TorqueObjectModelTask

public TorqueObjectModelTask()
Method Detail

getXmlFile

public java.lang.String getXmlFile()
Get the current xml file.
Returns:
String xml schema file.

setXmlFile

public void setXmlFile(java.lang.String v)
Set the xml file.
Parameters:
String - xml schema file.

getTargetPackage

public java.lang.String getTargetPackage()
Get the current target package.
Returns:
return target java package.

setTargetPackage

public void setTargetPackage(java.lang.String v)
Set the current target package. This is where generated java classes will live.
Parameters:
String - target java package.

initControlContext

public org.apache.velocity.context.Context initControlContext()


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