public class ReportWebConfig extends Configuration implements FCloneable, XMLable
构造器和说明 |
---|
ReportWebConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
addCSSImport(java.lang.String css)
添加CSS导入
|
void |
addJSImport(java.lang.String js)
添加JS导入
|
void |
clearCSSImportList()
清除css导入列表
|
void |
clearJSImportList()
清除js导入列表
|
java.lang.Object |
clone() |
Background |
getBackground() |
long |
getCacheValidateTime() |
java.lang.String[] |
getCSSImport() |
java.lang.String |
getCSSImport(int index) |
int |
getCSSImportCount() |
static ReportWebConfig |
getInstance() |
java.lang.String[] |
getJSImport() |
java.lang.String |
getJSImport(int index) |
int |
getJSImportCount() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
Printer |
getPrinter() |
java.lang.String |
getTitle() |
WebPage |
getWebPage() |
WebView |
getWebView() |
WebWrite |
getWebWrite() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setBackground(Background background) |
void |
setCacheValidateTime(long cacheValidateTime) |
void |
setPrinter(Printer printer) |
void |
setTitle(java.lang.String title) |
void |
setWebPage(WebPage page) |
void |
setWebView(WebView view) |
void |
setWebWrite(WebWrite form) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
initialize, mirror
public static ReportWebConfig getInstance()
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public void setCacheValidateTime(long cacheValidateTime)
public long getCacheValidateTime()
public WebPage getWebPage()
public void setWebPage(WebPage page)
public WebView getWebView()
public void setWebView(WebView view)
public WebWrite getWebWrite()
public void setWebWrite(WebWrite form)
public Printer getPrinter()
public void setPrinter(Printer printer)
public Background getBackground()
public void setBackground(Background background)
public int getJSImportCount()
public java.lang.String getJSImport(int index)
public void clearJSImportList()
public void addJSImport(java.lang.String js)
js
- 待添加的js路径public int getCSSImportCount()
public java.lang.String getCSSImport(int index)
public void clearCSSImportList()
public void addCSSImport(java.lang.String css)
css
- 待添加的css路径public java.lang.String[] getJSImport()
public java.lang.String[] getCSSImport()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 Configuration
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)