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
-
Fields inherited from class eu.europa.esig.dss.validation.reports.AbstractReports
validateXml
-
-
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 Detail
-
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 Detail
-
getSimpleReport
public SimpleReport getSimpleReport()
This method returns the wrapper to manipulate the JAXB SimpleReport- Returns:
- the wrapper
SimpleReport
-
getSimpleReportJaxb
public XmlSimpleReport getSimpleReportJaxb()
This method returns the JAXB SimpleReport- Returns:
- the JAXB
XmlSimpleReport
-
getEtsiValidationReportJaxb
public ValidationReportType getEtsiValidationReportJaxb()
This method returns the JAXB EtsiValidationReport- Returns:
- the JAXB
ValidationReportType
-
getXmlSimpleReport
public String 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
public String 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
-
-