public class ReportWriteAttr extends java.lang.Object implements AttributeTarget
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
ERROR_PREFIX |
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
ReportWriteAttr() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
__mod_column_row(MOD_COLUMN_ROW mod,
WorkSheet workSheet) |
void |
addSubmitVisitor(java.lang.String name,
SubmitVisitor visitor)
添加提交
|
void |
addSubmitVisitor(SubmitVisitor visitor)
添加提交
|
void |
addVerifier(java.lang.String name,
Verifier v)
合并校验
|
void |
addVerifier(Verifier valueVerifier)
添加默认校验
|
void |
clearSubmitVisitors()
清除所有提交
|
void |
clearVerifiers()
清除校验
|
void |
clearVerifiers(boolean isValueVerifier)
清除校验
|
java.lang.Object |
clone()
Clone Object.
|
SubmitVisitor |
getSubmitVisitor(int index) |
int |
getSubmitVisitorCount()
Gets the count of submiter.
|
int |
getValueVerifierCount()
获取默认校验的个数
|
Verifier |
getVerifier(int index)
获取校验
|
int |
getVerifierCount()
获取校验个数
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
removeVerifier(int index)
移除某一个校验
|
void |
submit(WriteECReport report,
TableDataSource source,
java.util.Map<java.lang.String,ESProgressPercent> extraInfo)
提交入库
|
void |
submit(WriteECReport report,
TableDataSource source,
java.util.Map<java.lang.String,ESProgressPercent> extraInfo,
boolean isAllSheet,
java.util.Map<java.lang.String,java.sql.Connection> allSheetConnMap)
提交入库
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
java.lang.String |
xmlTag() |
public static final java.lang.String XML_TAG
public static final java.lang.String ERROR_PREFIX
public int getSubmitVisitorCount()
public SubmitVisitor getSubmitVisitor(int index)
public void addSubmitVisitor(SubmitVisitor visitor)
visitor
- 提交对象public void addSubmitVisitor(java.lang.String name, SubmitVisitor visitor)
name
- 名称mvisitor
- 提交对象public void clearSubmitVisitors()
public void addVerifier(Verifier valueVerifier)
valueVerifier
- 默认校验public void addVerifier(java.lang.String name, Verifier v)
name
- 名称v
- 校验public void removeVerifier(int index)
index
- 序号public int getVerifierCount()
public int getValueVerifierCount()
public Verifier getVerifier(int index)
index
- 序号public void clearVerifiers()
public void clearVerifiers(boolean isValueVerifier)
isValueVerifier
- 是否只是清除内置校验public void submit(WriteECReport report, TableDataSource source, java.util.Map<java.lang.String,ESProgressPercent> extraInfo) throws WriteException
report
- 报表source
- 数据集extraInfo
- 参数WriteException
public void submit(WriteECReport report, TableDataSource source, java.util.Map<java.lang.String,ESProgressPercent> extraInfo, boolean isAllSheet, java.util.Map<java.lang.String,java.sql.Connection> allSheetConnMap) throws WriteSubmitException
report
- 报表source
- 数据集extraInfo
- 参数isAllSheet
- 是否是提交全部的sheetallSheetConnMap
- 数据连接集合WriteSubmitException
public java.lang.Object __mod_column_row(MOD_COLUMN_ROW mod, WorkSheet workSheet)
__mod_column_row
在接口中 AttributeTarget
public java.lang.String xmlTag()
xmlTag
在接口中 AttributeTarget
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常