DetailedReportXmlDefiner { public static Schema getSchema() throws IOException, SAXException { if (schema == null) { try (InputStream isXSDDetailedReport = DetailedReportXmlDefiner.class.getResourceAsStream(DETAILED_REPORT_SCHEMA_LOCATION)) { SchemaFactory sf = XmlDefinerUtils.getInstance().getSecureSchemaFactory(); schema = sf.newSchema(new Source[] { new StreamSource(isXSDDetailedReport) }); } } return schema; } private  DetailedReportXmlDefiner(); static JAXBContext getJAXBContext(); static Schema getSchema(); static Templates getHtmlBootstrap3Templates(); static Templates getHtmlBootstrap4Templates(); static Templates getPdfTemplates(); static final ObjectFactory OBJECT_FACTORY; }
@Test public void getSchema() throws SAXException, IOException { assertNotNull(DetailedReportXmlDefiner.getSchema()); assertNotNull(DetailedReportXmlDefiner.getSchema()); }