Class SimpleCertificateReportFacade
java.lang.Object
eu.europa.esig.dss.jaxb.common.AbstractJaxbFacade<XmlSimpleCertificateReport>
eu.europa.esig.dss.simplecertificatereport.SimpleCertificateReportFacade
public class SimpleCertificateReportFacade
extends eu.europa.esig.dss.jaxb.common.AbstractJaxbFacade<XmlSimpleCertificateReport>
Contains methods to generate Certificate SimpleReport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateHtmlReport(XmlSimpleCertificateReport simpleCertificateReport) Generates a Bootstrap 4 Simple Certificate reportvoidgenerateHtmlReport(XmlSimpleCertificateReport simpleCertificateReport, Result result) Generates a Bootstrap 4 Simple Certificate reportgenerateHtmlReport(String marshalledSimpleCertificateReport) Generates a Bootstrap 4 Simple Certificate reportvoidgenerateHtmlReport(String marshalledSimpleCertificateReport, Result result) Generates a Bootstrap 4 Simple Certificate reportvoidgeneratePdfReport(XmlSimpleCertificateReport simpleCertificateReport, Result result) Generates a PDF Detailed reportvoidgeneratePdfReport(String marshalledSimpleCertificateReport, Result result) Generates a PDF Detailed reportprotected jakarta.xml.bind.JAXBContextprotected SchemaInstantiates a newSimpleCertificateReportFacadeprotected jakarta.xml.bind.JAXBElement<XmlSimpleCertificateReport> wrap(XmlSimpleCertificateReport simpleCertificateReport) Methods inherited from class eu.europa.esig.dss.jaxb.common.AbstractJaxbFacade
getMarshaller, getUnmarshaller, marshall, marshall, marshall, marshall, unmarshall, unmarshall, unmarshall, unmarshall, unmarshall, unmarshall
-
Constructor Details
-
SimpleCertificateReportFacade
protected SimpleCertificateReportFacade()Default constructor
-
-
Method Details
-
newFacade
Instantiates a newSimpleCertificateReportFacade- Returns:
SimpleCertificateReportFacade
-
getJAXBContext
protected jakarta.xml.bind.JAXBContext getJAXBContext() throws jakarta.xml.bind.JAXBException- Specified by:
getJAXBContextin classeu.europa.esig.dss.jaxb.common.AbstractJaxbFacade<XmlSimpleCertificateReport>- Throws:
jakarta.xml.bind.JAXBException
-
getSchema
- Specified by:
getSchemain classeu.europa.esig.dss.jaxb.common.AbstractJaxbFacade<XmlSimpleCertificateReport>- Throws:
IOExceptionSAXException
-
wrap
protected jakarta.xml.bind.JAXBElement<XmlSimpleCertificateReport> wrap(XmlSimpleCertificateReport simpleCertificateReport) - Specified by:
wrapin classeu.europa.esig.dss.jaxb.common.AbstractJaxbFacade<XmlSimpleCertificateReport>
-
generateHtmlReport
public String generateHtmlReport(XmlSimpleCertificateReport simpleCertificateReport) throws IOException, TransformerException, jakarta.xml.bind.JAXBException Generates a Bootstrap 4 Simple Certificate report- Parameters:
simpleCertificateReport-XmlSimpleCertificateReport- Returns:
String- Throws:
IOException- if an IOException occursTransformerException- if an TransformerException occursjakarta.xml.bind.JAXBException- if an JAXBException occurs
-
generateHtmlReport
public void generateHtmlReport(XmlSimpleCertificateReport simpleCertificateReport, Result result) throws IOException, TransformerException, jakarta.xml.bind.JAXBException Generates a Bootstrap 4 Simple Certificate report- Parameters:
simpleCertificateReport-XmlSimpleCertificateReportresult-Resultto write the report into- Throws:
IOException- if an IOException occursTransformerException- if an TransformerException occursjakarta.xml.bind.JAXBException- if an JAXBException occurs
-
generateHtmlReport
public String generateHtmlReport(String marshalledSimpleCertificateReport) throws IOException, TransformerException Generates a Bootstrap 4 Simple Certificate report- Parameters:
marshalledSimpleCertificateReport-Stringmarshalled report- Returns:
String- Throws:
IOException- if IOException occursTransformerException- if TransformerException occurs
-
generateHtmlReport
public void generateHtmlReport(String marshalledSimpleCertificateReport, Result result) throws IOException, TransformerException Generates a Bootstrap 4 Simple Certificate report- Parameters:
marshalledSimpleCertificateReport-Stringmarshalled reportresult-Resultto write the report into- Throws:
IOException- if an IOException occursTransformerException- if an TransformerException occurs
-
generatePdfReport
public void generatePdfReport(XmlSimpleCertificateReport simpleCertificateReport, Result result) throws IOException, TransformerException, jakarta.xml.bind.JAXBException Generates a PDF Detailed report- Parameters:
simpleCertificateReport-XmlSimpleCertificateReportresult-Resultto write the report into- Throws:
IOException- if an IOException occursTransformerException- if an TransformerException occursjakarta.xml.bind.JAXBException- if an JAXBException occurs
-
generatePdfReport
public void generatePdfReport(String marshalledSimpleCertificateReport, Result result) throws IOException, TransformerException Generates a PDF Detailed report- Parameters:
marshalledSimpleCertificateReport-Stringmarshalled reportresult-Resultto write the report into- Throws:
IOException- if an IOException occursTransformerException- if an TransformerException occurs
-