oracle.forms.util.xmltools
Class Forms2XML

java.lang.Object
  extended byoracle.forms.util.xmltools.Forms2XML

public class Forms2XML
extends java.lang.Object


Constructor Summary
Forms2XML(java.io.File moduleFile)
          Constructor - Takes a form ready for dumping.
Forms2XML(JdapiModule module)
          Constructor - Takes a form ready for dumping.
 
Method Summary
 oracle.xml.parser.v2.XMLDocument dumpModule()
          Dumps the form passed to the constructor and returns the XML as an object.
static void main(java.lang.String[] args)
          Takes a filename or set of filenames to process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Forms2XML

public Forms2XML(JdapiModule module)
Constructor - Takes a form ready for dumping.

Parameters:
module - the module to dump

Forms2XML

public Forms2XML(java.io.File moduleFile)
Constructor - Takes a form ready for dumping.

Parameters:
moduleFile - the module to dump
Method Detail

dumpModule

public oracle.xml.parser.v2.XMLDocument dumpModule()
Dumps the form passed to the constructor and returns the XML as an object.

Returns:
the XML represention of the Form

main

public static void main(java.lang.String[] args)
Takes a filename or set of filenames to process. Each file is loaded and dumped to an XML format as filename_moduletype.xml.
Examples:
myform.fmb -> myform_fmb.xml
mylib.olb -> mylib_olb.xml
etc.

Parameters:
args - command line arguments