org.apache.torque.task
Class TorqueXMLWithDesc

java.lang.Object
  extended by Task
      extended by org.apache.torque.task.TorqueXMLWithDesc

public class TorqueXMLWithDesc
extends Task

This class is task used to generate xml file with database information and its description.

Author:
Kuali Rice Team (kuali-rice@googlegroups.com)

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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TorqueXMLWithDesc

public TorqueXMLWithDesc()
Method Detail

setOutputFileString

public void setOutputFileString(String outputFileString)

setInputFileString

public void setInputFileString(String inputFileString)

createXMLWithDescription

public Document createXMLWithDescription()
                                  throws ParserConfigurationException,
                                         SAXException,
                                         IOException
Returns a document object with table and column name from the input file and a blank description

Returns:
Document document object with table/column names and blank description added
Throws:
ParserConfigurationException
SAXException
IOException

writeXMLToFile

public void writeXMLToFile(Document newXMLDocument)
Writes the XMLDocument to an output file.

Parameters:
newXMLDocument -

execute

public void execute()
             throws BuildException
This is the exceute method of the Task called by the ant script

Throws:
BuildException


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