| |
|
| java.lang.Object org.webdocwf.util.xml.XmlSqlParser
XmlSqlParser | public class XmlSqlParser (Code) | | This is a simple SQL parser used by the Xml JDBC driver.
author: Zoran Milakovic |
BINARY_STREAM_OBJECT | final public static String BINARY_STREAM_OBJECT(Code) | | |
CREATE_TABLE | final public static String CREATE_TABLE(Code) | | Description of the Field
|
XmlSqlParser | public XmlSqlParser()(Code) | | |
XmlSqlParser | public XmlSqlParser(String fileName, boolean isAutoCommit)(Code) | | |
getColumnNames | public String[] getColumnNames()(Code) | | Gets the columnNames attribute of the SqlParser object
The columnNames value |
getColumnValues | public String[] getColumnValues()(Code) | | Gets array of column values.Used in INSERT , UPDATE statements
columnValues as array of string. |
getNotnullColumns | public String[] getNotnullColumns()(Code) | | Gets columns which can not be NULL
The tableName value |
getPrimaryKeys | public String[] getPrimaryKeys()(Code) | | Gets array of column which are primarykeys.Used in INSERT statements
primarykeys as array of string. |
getSQLType | public String getSQLType()(Code) | | Gets the type of sql statement.INSERT , UPDATE , CREATE , SELECT, DROP_TABLE, CREATE_TABLE
The type of sql statement. |
getTableName | public String getTableName()(Code) | | Gets the tableName attribute of the SqlParser object
The tableName value |
getWhereColumnNames | public String[] getWhereColumnNames()(Code) | | |
getWhereColumnValues | public String[] getWhereColumnValues()(Code) | | |
parse | public void parse(String sql) throws Exception(Code) | | Description of the Method
Parameters: sql - Description of Parameter exception: Exception - Description of Exception |
setBinaryStreamList | public void setBinaryStreamList(ArrayList list)(Code) | | Set setBinaryStreamList.
Parameters: list - |
|
|
|