public class OutputFileFormat extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
OutputFileFormat() |
OutputFileFormat(boolean isConvertToExcel,
boolean isConvertToPdf,
boolean isConvertToWord) |
限定符和类型 | 方法和说明 |
---|---|
static OutputFileFormat |
analyzeJSON(JSONObject outputFileFormatJSON)
将json对象转换为OutputFileFormat对象
|
java.lang.Object |
clone()
Clone.
|
JSONObject |
createJSONConfig()
生成json对象
|
boolean |
equals(java.lang.Object obj) |
int |
getFormat() |
boolean |
isConvertToExcel()
是否生成Excel文件
|
boolean |
isConvertToPdf()
是否生成pdf文件
|
boolean |
isConvertToWord()
是否生成word文件
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setConvertToExcel(boolean e) |
void |
setConvertToPdf(boolean p) |
void |
setConvertToWord(boolean w) |
void |
setFormat(int format) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public OutputFileFormat()
public OutputFileFormat(boolean isConvertToExcel, boolean isConvertToPdf, boolean isConvertToWord)
public JSONObject createJSONConfig() throws JSONException
JSONException
public static OutputFileFormat analyzeJSON(JSONObject outputFileFormatJSON)
outputFileFormatJSON
- public void setFormat(int format)
public int getFormat()
public boolean isConvertToExcel()
public void setConvertToExcel(boolean e)
public boolean isConvertToPdf()
public void setConvertToPdf(boolean p)
public boolean isConvertToWord()
public void setConvertToWord(boolean w)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常