Package eu.europa.esig.dss.simplereport
Class SimpleReportXmlDefiner
java.lang.Object
eu.europa.esig.dss.simplereport.SimpleReportXmlDefiner
public final class SimpleReportXmlDefiner extends Object
Contains cached simple report schemas and templates
-
Field Summary
Fields Modifier and Type Field Description static ObjectFactoryOBJECT_FACTORYThe object factory to use -
Method Summary
Modifier and Type Method Description static TemplatesgetHtmlBootstrap3Templates()Gets the HTML Bootstrap 3 templatestatic TemplatesgetHtmlBootstrap4Templates()Gets the HTML Bootstrap 4 templatestatic JAXBContextgetJAXBContext()Gets theJAXBContextstatic TemplatesgetPdfTemplates()Gets the PDF templatestatic SchemagetSchema()Gets theSchema
-
Field Details
-
OBJECT_FACTORY
The object factory to use
-
-
Method Details
-
getJAXBContext
Gets theJAXBContext- Returns:
JAXBContext- Throws:
JAXBException- if an exception occurs
-
getSchema
Gets theSchema- Returns:
Schema- Throws:
IOException- if IOException occursSAXException- if SAXException occurs
-
getHtmlBootstrap3Templates
public static Templates getHtmlBootstrap3Templates() throws TransformerConfigurationException, IOExceptionGets the HTML Bootstrap 3 template- Returns:
Templates- Throws:
TransformerConfigurationException- if TransformerConfigurationException occursIOException- if IOException occurs
-
getHtmlBootstrap4Templates
public static Templates getHtmlBootstrap4Templates() throws TransformerConfigurationException, IOExceptionGets the HTML Bootstrap 4 template- Returns:
Templates- Throws:
TransformerConfigurationException- if TransformerConfigurationException occursIOException- if IOException occurs
-
getPdfTemplates
Gets the PDF template- Returns:
Templates- Throws:
TransformerConfigurationException- if TransformerConfigurationException occursIOException- if IOException occurs
-