|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.SqlElement
public class SqlElement
Class is wrapper for SqlElement tag in XML file.
Constructor Summary | |
---|---|
SqlElement()
|
Method Summary | |
---|---|
boolean |
getDefaultCommit()
This method read value of bDefaultCommit parameter |
java.lang.String |
getDefaultLogMode()
This method read value of strDefaultLogMode parameter |
boolean |
getDefaultOnErrorContinue()
This method read value of bDefaultOnErrorContinue parameter |
boolean |
getOnErrorContinue()
This method read value of bOnErrorContinue parameter |
java.lang.String |
getSqlCommit()
This method read value of strSqlCommit parameter |
java.lang.String |
getSqlName()
This method read value of strSqlName parameter |
java.lang.String |
getSqlOnErrorContinue()
This method read value of strSqlOnErrorContinue parameter |
java.util.Vector |
importSQLStatement(java.io.InputStream inStream,
int iSqlItem)
Method importSQLStatement imports sql attributes from xml file and puts them in the global variables. |
int |
parseSql(java.io.InputStream inStream)
Method parseSql is used to analyse import XML file about sql tags. |
void |
setConfigReader(ConfigReader reader)
This method set value of echo parameter |
void |
setJdbcParametersElement(JdbcParametersElement jdbc)
This method set value of jdbcParametersElement parameter |
void |
setLoaderJob(LoaderJobAttrReader loader)
Set LoaderJobAttrReader object |
void |
setLogger(Logger logger)
This method set value of logger parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SqlElement()
Method Detail |
---|
public int parseSql(java.io.InputStream inStream) throws LoaderException
inStream
- Data from inputXML file which is converted into InputStream.
LoaderException
public void setLogger(Logger logger)
logger
- is value of parameterpublic void setConfigReader(ConfigReader reader)
reader
- is value of parameterpublic void setJdbcParametersElement(JdbcParametersElement jdbc)
jdbc
- is value of parameterpublic java.util.Vector importSQLStatement(java.io.InputStream inStream, int iSqlItem) throws LoaderException
inStream
- Data from inputXML file which is converted into InputStream.iSqlItem
- Number of sql tag in XML file which will be analised.
LoaderException
public boolean getDefaultCommit()
public boolean getDefaultOnErrorContinue()
public boolean getOnErrorContinue()
public java.lang.String getDefaultLogMode()
public java.lang.String getSqlCommit()
public java.lang.String getSqlOnErrorContinue()
public java.lang.String getSqlName()
public void setLoaderJob(LoaderJobAttrReader loader)
loader
- LoaderJobAttrReader object,which stores loaderJob tag attributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |