public class XBRLValidationReportToExcel extends java.lang.Object implements XBRLValidationReportSerializer
Constructor and Description |
---|
XBRLValidationReportToExcel(java.net.URI excelURI)
Creates an instance of the transformer of the validation report to Excel.
|
Modifier and Type | Method and Description |
---|---|
void |
serialize(XBRLValidationReport xbrlValidationReport)
Produces the output of the XBRLValidationReport in the object implementing this interface.
|
static void |
serializeToOutputStream(XBRLValidationReport xbrlValidationReport,
java.io.OutputStream stream,
boolean simplified,
java.lang.String[] extraInfo)
Generates an excel spreadsheet and serializes it to the output stream from
the XBRLValidationReport received
The simplified parameter can be used to decide about the number of sheets to generate
|
void |
setAdditionalInformation(java.lang.String[] exportValidationReportAdditionalInformation)
Additional information to be added to the main page of the excel validation report
This information might be useful from the entry point or any other parts of the
hosted application
|
void |
setMode(boolean newMode)
Export the validation report to excel in a simplified mode (when value is true)
or the full mode (when value is false)
Default mode is full mode
We might change this functionality in the future to provide more control over
sheets to generate
|
public XBRLValidationReportToExcel(java.net.URI excelURI)
excelURI
- the Excel document URIpublic void setMode(boolean newMode)
Default mode is full mode
We might change this functionality in the future to provide more control over sheets to generate
newMode
- public void setAdditionalInformation(java.lang.String[] exportValidationReportAdditionalInformation)
exportValidationReportAdditionalInformation
- is array of strings or nullpublic static void serializeToOutputStream(XBRLValidationReport xbrlValidationReport, java.io.OutputStream stream, boolean simplified, java.lang.String[] extraInfo) throws java.io.IOException
The simplified parameter can be used to decide about the number of sheets to generate
xbrlValidationReport
- stream
- simplified
- extraInfo
- java.io.IOException
public void serialize(XBRLValidationReport xbrlValidationReport)
XBRLValidationReportSerializer
serialize
in interface XBRLValidationReportSerializer
xbrlValidationReport
- the xbrl validation reportCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa