@Test public void testTransformXmlIntoHtmlByXMLnoXSLyes() { boolean isException = false; try { xmlString = ""; XmlTransformer xmlTransformer = new XmlTransformer(xsltStream); xmlTransformer.transformXmlIntoHtml(xmlString); } catch (Exception e) { isException = true; } assertTrue(isException); }
public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; }
XmlTransformer { public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; } }
XmlTransformer { public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; } XmlTransformer(InputStream inputStream); }
XmlTransformer { public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; } XmlTransformer(InputStream inputStream); String transformXmlIntoHtml(String xmlString); String deliverRelevantHTML(String htmlString); }
XmlTransformer { public String transformXmlIntoHtml(String xmlString) throws IllegalArgumentException, CdaXmlTransformerException { xmlString = deliverRelevantXML(xmlString); String htmlString = transformXmlAndXslIntoHtml(xmlString); htmlString = deliverRelevantHTML(htmlString); return htmlString; } XmlTransformer(InputStream inputStream); String transformXmlIntoHtml(String xmlString); String deliverRelevantHTML(String htmlString);  }