| java.lang.Object org.webdocwf.util.loader.generator.SearchXmlFile
SearchXmlFile | public class SearchXmlFile (Code) | | SearchXmlFile class search the named xml document.
author: Radoslav Dutina version: 1.0 |
Constructor Summary | |
public | SearchXmlFile(String typePath, String path, String confJarStructure) Construct object SearchXmlFile with associated parameters.
Parameters: typePath - defines the type of the path. |
Method Summary | |
public Vector | getAllDriversForVendor() | public Vector | getAllVendors() | public Vector | getAllVendorsPath() | public String | getAlterTablePrimaryKey(String driverName) | public void | getClassName(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. | public String | getDriverName() This method search the named xml document, and read the value of name (Driver) parameter,
which represents the driver name. | public String | getExcludedTables() | public Vector | getFileSystemDatabase(String driverName) | public Hashtable | getHasSize() | public Hashtable | getIsDecimal() | public String | getJAVAType(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.
Parameters: java_Type - is the jdbc type of data. | public String | getJDBCFromSQLType(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.
Parameters: sql_Type - is the sql type of data. | public String | getMaxConstraintLength(String driverName) | public 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. | public 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. | public String | getPathToConf(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.
Parameters: database_Type - is the type of the database. | public String | getSQLFromJDBCType(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.
Parameters: jdbc_Type - is the jdbc type of data. | public 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. | public 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. |
SearchXmlFile | public SearchXmlFile(String typePath, String path, String confJarStructure) throws LoaderException(Code) | | Construct object SearchXmlFile with associated parameters.
Parameters: 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. Parameters: path - is the path to named xml file. throws: LoaderException - |
getAllDriversForVendor | public Vector getAllDriversForVendor()(Code) | | This method read value of drivers parameter
value of parameter |
getAllVendors | public Vector getAllVendors()(Code) | | This method read value of allVendors parameter
value of parameter |
getAllVendorsPath | public Vector getAllVendorsPath()(Code) | | This method read value of allVendorsPath parameter
value of parameter |
getAlterTablePrimaryKey | public String getAlterTablePrimaryKey(String driverName) throws LoaderException(Code) | | This method set value of alterTablePrimaryKey parameter
Parameters: driverName - is name of the driver value of parameter throws: LoaderException - |
getClassName | public void getClassName(String driverName, JdbcParameters jdbcParameters, InputParameters generatorParameters) throws LoaderException(Code) | | This method search the named xml document, and read the value of driverClassName parameter,
which represents driver class for the named driver.
Parameters: driverName - is the name of the driver. Parameters: jdbcParameters - is reference to JdbcParameters object. Parameters: generatorParameters - is object of InputParameters class throws: LoaderException - |
getDriverName | public String getDriverName()(Code) | | This method search the named xml document, and read the value of name (Driver) parameter,
which represents the driver name.
value of parameter. |
getJAVAType | public String getJAVAType(String java_Type) throws LoaderException(Code) | | 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.
Parameters: java_Type - is the jdbc type of data. java type of data. throws: LoaderException - |
getJDBCFromSQLType | public String getJDBCFromSQLType(String sql_Type) throws LoaderException(Code) | | 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.
Parameters: sql_Type - is the sql type of data. jdbc type of data. throws: LoaderException - |
getOidDB | public String getOidDB() throws LoaderException(Code) | | This method search the named xml document, and read the value of oidDbType parameter, which
represents the oid type for the named database.
oid type. throws: LoaderException - |
getOidDbColumn | public String getOidDbColumn() throws LoaderException(Code) | | This method search the named xml document, and read the value of oidDbColumnName parameter,
which represents the oid name for the named database.
oid name. throws: LoaderException - |
getPathToConf | public String getPathToConf(String database_Type)(Code) | | 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.
Parameters: database_Type - is the type of the database. value of paramter. |
getSQLFromJDBCType | public String getSQLFromJDBCType(String jdbc_Type) throws LoaderException(Code) | | 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.
Parameters: jdbc_Type - is the jdbc type of data. the sql type of data. throws: LoaderException - |
getVersionDb | public String getVersionDb() throws LoaderException(Code) | | This method search the named xml document, and read the value of versionDbType parameter, which
represents the version type of the named database.
version type. throws: LoaderException - |
getVersionDbColumn | public String getVersionDbColumn() throws LoaderException(Code) | | This method search the named xml document, and read the value of versionDbColumnName parameter,
which represents the version name of the named database.
version name. throws: LoaderException - |
|
|