|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.generator.SearchXmlFile
public class SearchXmlFile
SearchXmlFile class search the named xml document.
Constructor Summary | |
---|---|
SearchXmlFile(java.lang.String typePath,
java.lang.String path,
java.lang.String confJarStructure)
Construct object SearchXmlFile with associated parameters. |
Method Summary | |
---|---|
java.util.Vector |
getAllDriversForVendor()
This method read value of drivers parameter |
java.util.Vector |
getAllVendors()
This method read value of allVendors parameter |
java.util.Vector |
getAllVendorsPath()
This method read value of allVendorsPath parameter |
java.lang.String |
getAlterTablePrimaryKey(java.lang.String driverName)
This method set value of alterTablePrimaryKey parameter |
void |
getClassName(java.lang.String driverName,
JdbcParameters jdbcParameters,
InputParameters generatorParameters)
This method search the named xml document, and read the value of driverClassName parameter, which represents driver class for the named driver. |
java.lang.String |
getDriverName()
This method search the named xml document, and read the value of name (Driver) parameter, which represents the driver name. |
java.lang.String |
getExcludedTables()
|
java.util.Vector |
getFileSystemDatabase(java.lang.String driverName)
|
java.util.Hashtable |
getHasSize()
This method search the named xml document, and read the value of hasSize parameter |
java.util.Hashtable |
getIsDecimal()
This method search the named xml document, and read the value of isDecimal parameter |
java.lang.String |
getJAVAType(java.lang.String java_Type)
This method search the named xml document, and read the value of javaType parameter, which represents the java type of data of the named jdbc type of data. |
java.lang.String |
getJDBCFromSQLType(java.lang.String sql_Type)
This method search the named xml document, and read the value of jdbcType parameter, which represents the jdbc type of data of the named sql type of data. |
java.lang.String |
getMaxConstraintLength(java.lang.String driverName)
|
java.lang.String |
getOidDB()
This method search the named xml document, and read the value of oidDbType parameter, which represents the oid type for the named database. |
java.lang.String |
getOidDbColumn()
This method search the named xml document, and read the value of oidDbColumnName parameter, which represents the oid name for the named database. |
java.lang.String |
getPathToConf(java.lang.String database_Type)
This method search the named xml document, and read the value of pathToConf parameter which represents the path of the conf file, for the named database. |
java.lang.String |
getSQLFromJDBCType(java.lang.String jdbc_Type)
This method search the named xml document, and read the value of sqlType parameter, which represents the sql type of data of the named jdbc type of data. |
java.lang.String |
getVersionDb()
This method search the named xml document, and read the value of versionDbType parameter, which represents the version type of the named database. |
java.lang.String |
getVersionDbColumn()
This method search the named xml document, and read the value of versionDbColumnName parameter, which represents the version name of the named database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchXmlFile(java.lang.String typePath, java.lang.String path, java.lang.String confJarStructure) throws LoaderException
typePath
- defines the type of the path. Path can be relative, absolute and jar.
If the parameter has value jar, then the xml file is placed in jar file.path
- is the path to named xml file.
LoaderException
Method Detail |
---|
public java.util.Vector getAllVendors()
public java.util.Vector getAllVendorsPath()
public java.util.Vector getAllDriversForVendor()
public java.lang.String getPathToConf(java.lang.String database_Type)
database_Type
- is the type of the database.
public void getClassName(java.lang.String driverName, JdbcParameters jdbcParameters, InputParameters generatorParameters) throws LoaderException
driverName
- is the name of the driver.jdbcParameters
- is reference to JdbcParameters object.generatorParameters
- is object of InputParameters class
LoaderException
public java.util.Vector getFileSystemDatabase(java.lang.String driverName) throws LoaderException
LoaderException
public java.lang.String getMaxConstraintLength(java.lang.String driverName) throws LoaderException
LoaderException
public java.lang.String getAlterTablePrimaryKey(java.lang.String driverName) throws LoaderException
driverName
- is name of the driver
LoaderException
public java.lang.String getJDBCFromSQLType(java.lang.String sql_Type) throws LoaderException
sql_Type
- is the sql type of data.
LoaderException
public java.util.Hashtable getHasSize() throws LoaderException
LoaderException
public java.util.Hashtable getIsDecimal() throws LoaderException
LoaderException
public java.lang.String getSQLFromJDBCType(java.lang.String jdbc_Type) throws LoaderException
jdbc_Type
- is the jdbc type of data.
LoaderException
public java.lang.String getJAVAType(java.lang.String java_Type) throws LoaderException
java_Type
- is the jdbc type of data.
LoaderException
public java.lang.String getOidDB() throws LoaderException
LoaderException
public java.lang.String getVersionDb() throws LoaderException
LoaderException
public java.lang.String getOidDbColumn() throws LoaderException
LoaderException
public java.lang.String getVersionDbColumn() throws LoaderException
LoaderException
public java.lang.String getDriverName()
public java.lang.String getExcludedTables() throws LoaderException
LoaderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |