public class FreeSQLSubmiter extends AbstractSubmitVisitor
XML_TAG
构造器和说明 |
---|
FreeSQLSubmiter()
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
execute(Report report,
TableDataSource source,
java.util.Map extraInfor)
执行提交
|
java.sql.Connection |
getConnection()
获取数据库连接
|
java.lang.String |
getDBName() |
java.lang.String |
getSQL() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setConnection(java.sql.Connection conn)
设置数据库连接
|
void |
setDBName(java.lang.String dbName) |
void |
setSQL(java.lang.String sql) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
__mod_column_row, clone, getCondition, getName, isBuiltin, setCondition, setName
public java.lang.String getDBName()
public void setDBName(java.lang.String dbName)
public java.lang.String getSQL()
public void setSQL(java.lang.String sql)
public void execute(Report report, TableDataSource source, java.util.Map extraInfor) throws java.lang.Exception
execute
在接口中 SubmitVisitor
execute
在类中 AbstractSubmitVisitor
report
- 当前提交所在的报表source
- 数据集extraInfor
- 额外参数java.lang.Exception
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
readXML
在类中 AbstractSubmitVisitor
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractSubmitVisitor
writer
- the PrintWriter.public void setConnection(java.sql.Connection conn)
SubmitVisitor
conn
- 数据库连接public java.sql.Connection getConnection()
SubmitVisitor