Class Reports
java.lang.Object
eu.europa.esig.dss.validation.reports.AbstractReports
eu.europa.esig.dss.validation.reports.Reports
public class Reports extends AbstractReports
This class is a container for all reports generated by the signature validation
process: diagnostic data, detailed report and simple report.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Reports(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleReport simpleReport, ValidationReportType validationReport)This is the default constructor to instantiate this container. -
Method Summary
Modifier and Type Method Description ValidationReportTypegetEtsiValidationReportJaxb()This method returns the JAXB EtsiValidationReportSimpleReportgetSimpleReport()This method returns the wrapper to manipulate the JAXB SimpleReportXmlSimpleReportgetSimpleReportJaxb()This method returns the JAXB SimpleReportStringgetXmlSimpleReport()This method returns the XML representation of the JAXB SimpleReport StringStringgetXmlValidationReport()This method returns the XML representation of the JAXB ETSI Validation Report Stringvoidprint()For debug purpose.Methods inherited from class eu.europa.esig.dss.validation.reports.AbstractReports
getDetailedReport, getDetailedReportJaxb, getDiagnosticData, getDiagnosticDataJaxb, getXmlDetailedReport, getXmlDiagnosticData, setValidateXml
-
Constructor Details
-
Reports
public Reports(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleReport simpleReport, ValidationReportType validationReport)This is the default constructor to instantiate this container.- Parameters:
diagnosticDataJaxb- the JAXBXmlDiagnosticDatadetailedReport- the JAXBXmlDetailedReportsimpleReport- the JAXBXmlSimpleReportvalidationReport- the JAXBValidationReportType
-
-
Method Details
-
getSimpleReport
This method returns the wrapper to manipulate the JAXB SimpleReport- Returns:
- the wrapper
SimpleReport
-
getSimpleReportJaxb
This method returns the JAXB SimpleReport- Returns:
- the JAXB
XmlSimpleReport
-
getEtsiValidationReportJaxb
This method returns the JAXB EtsiValidationReport- Returns:
- the JAXB
ValidationReportType
-
getXmlSimpleReport
This method returns the XML representation of the JAXB SimpleReport String- Specified by:
getXmlSimpleReportin classAbstractReports- Returns:
- a String with the XML content of the JAXB
SimpleReport - Throws:
DSSReportException- - in case of marshalling error
-
getXmlValidationReport
This method returns the XML representation of the JAXB ETSI Validation Report String- Returns:
- a String with the XML content of the JAXB
ValidationReportType - Throws:
DSSReportException- - in case of marshalling error
-
print
public void print()Description copied from class:AbstractReportsFor debug purpose.- Overrides:
printin classAbstractReports
-