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.
  • 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 JAXB XmlDiagnosticData
      detailedReport - the JAXB XmlDetailedReport
      simpleReport - the JAXB XmlSimpleReport
      validationReport - the JAXB ValidationReportType
  • Method Details

    • 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:
      getXmlSimpleReport in class AbstractReports
      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: AbstractReports
      For debug purpose.
      Overrides:
      print in class AbstractReports