public class ClassSubmiter extends AbstractSubmitVisitor
XML_TAG
构造器和说明 |
---|
ClassSubmiter()
Constructor.
|
ClassSubmiter(java.lang.String className)
Contructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
execute(Report report,
TableDataSource source,
java.util.Map extraInfor)
执行
|
java.lang.String |
getClassName()
Gets the name of class.
|
java.sql.Connection |
getConnection()
获取数据库连接
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setClassName(java.lang.String className)
Sets the name of class.
|
void |
setConnection(java.sql.Connection conn)
设置数据库连接
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
__mod_column_row, clone, getCondition, getName, isBuiltin, setCondition, setName
public ClassSubmiter()
public ClassSubmiter(java.lang.String className)
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public void execute(Report report, TableDataSource source, java.util.Map extraInfor) throws java.lang.Exception
execute
在接口中 SubmitVisitor
execute
在类中 AbstractSubmitVisitor
source
- 数据集report
- 报表extraInfor
- 参数java.lang.Exception
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
readXML
在类中 AbstractSubmitVisitor
element
- the element.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