Class XMLReporter


  • public class XMLReporter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLReporter​(ch.exense.commons.app.Configuration configuration, step.core.artefacts.reports.ReportNodeAccessor reportNodeAccessor)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String convertToHtml​(java.lang.String xml)  
      static java.lang.String convertToText​(java.lang.String xml)  
      java.lang.String reportContent​(step.core.artefacts.reports.ReportNode node)  
      java.lang.String reportContent​(step.core.artefacts.reports.ReportNode node, java.lang.String actionHtml, java.lang.String expectedHtml, java.lang.String actionTxt, java.lang.String expectedTxt)  
      java.lang.String reportHeader​(step.core.artefacts.reports.ReportNodeStatus status, java.lang.Object step)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLReporter

        public XMLReporter​(ch.exense.commons.app.Configuration configuration,
                           step.core.artefacts.reports.ReportNodeAccessor reportNodeAccessor)
    • Method Detail

      • reportContent

        public java.lang.String reportContent​(step.core.artefacts.reports.ReportNode node)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • reportContent

        public java.lang.String reportContent​(step.core.artefacts.reports.ReportNode node,
                                              java.lang.String actionHtml,
                                              java.lang.String expectedHtml,
                                              java.lang.String actionTxt,
                                              java.lang.String expectedTxt)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • reportHeader

        public java.lang.String reportHeader​(step.core.artefacts.reports.ReportNodeStatus status,
                                             java.lang.Object step)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • convertToText

        public static java.lang.String convertToText​(java.lang.String xml)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • convertToHtml

        public static java.lang.String convertToHtml​(java.lang.String xml)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception