org.dbforms.devgui
Class XMLConfigGenerator

java.lang.Object
  extended by org.dbforms.devgui.XMLConfigGenerator
All Implemented Interfaces:
PropertyNames

public class XMLConfigGenerator
extends Object
implements PropertyNames

DOCUMENT ME!

Version:
$Revision: 1.18 $
Author:
$author$

Field Summary
 
Fields inherited from interface org.dbforms.devgui.PropertyNames
ALL, AUTOCOMMIT_MODE, CATALOG, CATALOG_SELECTION, CONFIG_FILE, DATE_FORMAT, DEACTIVATED, EXAMINE_SYSTABS, EXAMINE_TABLES, EXAMINE_VIEWS, FALSESTRING, FOREIGNKEY_DETECTION, INCLUDE_CATALOGNAME, INCLUDE_SCHEMANAME, SCHEMA, SCHEMA_SELECTION, SELECTION, STYLESHEET_DIR, TABLE_NAME_PATTERN, TABLE_SELECTION, TRUESTRING, USE_GETCROSSREFERENCES, USE_GETIMPORTEDKEYS, USE_JAVASCRIPT_CALENDAR, WRITE_STD_TYPENAMES, XSLT_ENCODING
 
Constructor Summary
XMLConfigGenerator()
           
 
Method Summary
protected static Connection createConnection(String jdbcDriver, String jdbcURL, String username, String password)
          DOCUMENT ME!
static String createXMLOutput(ProjectData projectData, boolean createGuiMessagewindow)
          DOCUMENT ME!
static HashMap getForeignKeyInformation(DatabaseMetaData dbmd, boolean includeCatalog, String catalogSeparator, boolean includeSchema, String schemaSeparator, Vector knownTables, boolean foreignKeyTryGetCrossReferences, Vector catalogNames, Vector schemaNames, Vector tableNames)
          DOCUMENT ME!
static String getForeignKeyTags(HashMap hm, String catalog, String schema, String table)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigGenerator

public XMLConfigGenerator()
Method Detail

getForeignKeyInformation

public static HashMap getForeignKeyInformation(DatabaseMetaData dbmd,
                                               boolean includeCatalog,
                                               String catalogSeparator,
                                               boolean includeSchema,
                                               String schemaSeparator,
                                               Vector knownTables,
                                               boolean foreignKeyTryGetCrossReferences,
                                               Vector catalogNames,
                                               Vector schemaNames,
                                               Vector tableNames)
DOCUMENT ME!

Parameters:
dbmd - DOCUMENT ME!
includeCatalog - DOCUMENT ME!
catalogSeparator - DOCUMENT ME!
includeSchema - DOCUMENT ME!
schemaSeparator - DOCUMENT ME!
knownTables - DOCUMENT ME!
foreignKeyTryGetCrossReferences - DOCUMENT ME!
catalogNames - DOCUMENT ME!
schemaNames - DOCUMENT ME!
tableNames - DOCUMENT ME!
Returns:
DOCUMENT ME!

getForeignKeyTags

public static String getForeignKeyTags(HashMap hm,
                                       String catalog,
                                       String schema,
                                       String table)
DOCUMENT ME!

Parameters:
hm - DOCUMENT ME!
catalog - DOCUMENT ME!
schema - DOCUMENT ME!
table - DOCUMENT ME!
Returns:
DOCUMENT ME!

createXMLOutput

public static String createXMLOutput(ProjectData projectData,
                                     boolean createGuiMessagewindow)
                              throws Exception
DOCUMENT ME!

Parameters:
projectData - DOCUMENT ME!
createGuiMessagewindow - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
Exception - DOCUMENT ME!
SQLException - DOCUMENT ME!

createConnection

protected static Connection createConnection(String jdbcDriver,
                                             String jdbcURL,
                                             String username,
                                             String password)
                                      throws SQLException,
                                             ClassNotFoundException,
                                             InstantiationException,
                                             IllegalAccessException
DOCUMENT ME!

Parameters:
jdbcDriver - DOCUMENT ME!
jdbcURL - DOCUMENT ME!
username - DOCUMENT ME!
password - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
SQLException - DOCUMENT ME!
ClassNotFoundException - DOCUMENT ME!
InstantiationException - DOCUMENT ME!
IOException - DOCUMENT ME!
IllegalAccessException - DOCUMENT ME!


Copyright © 2002-2006 DbForms. All Rights Reserved.