| |
|
| java.lang.Object org.webdocwf.util.loader.SqlElement
SqlElement | public class SqlElement (Code) | | Class is wrapper for SqlElement tag in XML file.
author: Zoran Milakovic version: 1.1 |
getDefaultCommit | public boolean getDefaultCommit()(Code) | | This method read value of bDefaultCommit parameter
default value for attribute Commit |
getDefaultLogMode | public String getDefaultLogMode()(Code) | | This method read value of strDefaultLogMode parameter
default value for attribute LogMode |
getDefaultOnErrorContinue | public boolean getDefaultOnErrorContinue()(Code) | | This method read value of bDefaultOnErrorContinue parameter
default value for attribute OnErrorContinue |
getOnErrorContinue | public boolean getOnErrorContinue()(Code) | | This method read value of bOnErrorContinue parameter
value for attribute OnErrorContinue |
getSqlCommit | public String getSqlCommit()(Code) | | This method read value of strSqlCommit parameter
value for attribute SqlCommit |
getSqlName | public String getSqlName()(Code) | | This method read value of strSqlName parameter
value for attribute SqlName |
getSqlOnErrorContinue | public String getSqlOnErrorContinue()(Code) | | This method read value of strSqlOnErrorContinue parameter
value for attribute SqlOnErrorContinue |
importSQLStatement | public Vector importSQLStatement(InputStream inStream, int iSqlItem) throws LoaderException(Code) | | Method importSQLStatement imports sql attributes from xml file and puts them in the global variables.
Return Vector. It's elements are strings which represents sql statements.
Parameters: inStream - Data from inputXML file which is converted into InputStream. Parameters: iSqlItem - Number of sql tag in XML file which will be analised. vector throws: LoaderException - |
parseSql | public int parseSql(InputStream inStream) throws LoaderException(Code) | | Method parseSql is used to analyse import XML file
about sql tags. Return number of sql elements in a whole xml input file.
Parameters: inStream - Data from inputXML file which is converted into InputStream. Number of sql tags in an input XML file. throws: LoaderException - |
setConfigReader | public void setConfigReader(ConfigReader reader)(Code) | | This method set value of echo parameter
Parameters: reader - is value of parameter |
setJdbcParametersElement | public void setJdbcParametersElement(JdbcParametersElement jdbc)(Code) | | This method set value of jdbcParametersElement parameter
Parameters: jdbc - is value of parameter |
setLoaderJob | public void setLoaderJob(LoaderJobAttrReader loader)(Code) | | Set LoaderJobAttrReader object
Parameters: loader - LoaderJobAttrReader object,which stores loaderJob tag attributes |
setLogger | public void setLogger(Logger logger)(Code) | | This method set value of logger parameter
Parameters: logger - is value of parameter |
|
|
|