Class Reports
java.lang.Object
eu.europa.esig.dss.validation.reports.AbstractReports
eu.europa.esig.dss.validation.reports.Reports
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
ConstructorDescriptionReports
(XmlDiagnosticData diagnosticDataJaxb, XmlDetailedReport detailedReport, XmlSimpleReport simpleReport, ValidationReportType validationReport) This is the default constructor to instantiate this container. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the JAXB EtsiValidationReportThis method returns the wrapper to manipulate the JAXB SimpleReportThis method returns the JAXB SimpleReportThis method returns the XML representation of the JAXB SimpleReport StringThis method returns the XML representation of the JAXB ETSI Validation Report Stringvoid
print()
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 JAXBXmlDiagnosticData
detailedReport
- the JAXBXmlDetailedReport
simpleReport
- the JAXBXmlSimpleReport
validationReport
- 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:
getXmlSimpleReport
in 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:AbstractReports
For debug purpose.- Overrides:
print
in classAbstractReports
-