| 
||||||||||
| 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.torque.task.TorqueXMLWithDesc
public class TorqueXMLWithDesc
This class is task used to generate xml file with database information and its description.
| Field Summary | 
|---|
| 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 | |
|---|---|
TorqueXMLWithDesc()
 | 
|
| Method Summary | |
|---|---|
 Document | 
createXMLWithDescription()
Returns a document object with table and column name from the input file and a blank description  | 
 void | 
execute()
This is the exceute method of the Task called by the ant script  | 
 void | 
setInputFileString(String inputFileString)
 | 
 void | 
setOutputFileString(String outputFileString)
 | 
 void | 
writeXMLToFile(Document newXMLDocument)
Writes the XMLDocument to an output file.  | 
| 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 | 
| Constructor Detail | 
|---|
public TorqueXMLWithDesc()
| Method Detail | 
|---|
public void setOutputFileString(String outputFileString)
public void setInputFileString(String inputFileString)
public Document createXMLWithDescription()
                                  throws ParserConfigurationException,
                                         SAXException,
                                         IOException
ParserConfigurationException
SAXException
IOExceptionpublic void writeXMLToFile(Document newXMLDocument)
newXMLDocument - 
public void execute()
             throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||