com.philemonworks.selfdiagnose.output
Class XMLReporter

java.lang.Object
  extended by com.philemonworks.selfdiagnose.output.XMLReporter
All Implemented Interfaces:
DiagnoseRunReporter

public class XMLReporter
extends Object
implements DiagnoseRunReporter

XMLReporter creates an XML document (String) with all the results of running SelfDiagnose. The document conforms to the selfdiagnose.xsd.

Author:
ernestmicklei

Constructor Summary
XMLReporter()
           
 
Method Summary
 void beginXML()
           
 void endXML()
           
 String getContent()
          Return the report contents
 String getContentType()
          Return the Http Response content type
 void report(DiagnoseRun run)
          Report a completed diagnose run
 void report(DiagnosticTaskResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLReporter

public XMLReporter()
Method Detail

getContent

public String getContent()
Description copied from interface: DiagnoseRunReporter
Return the report contents

Specified by:
getContent in interface DiagnoseRunReporter

getContentType

public String getContentType()
Description copied from interface: DiagnoseRunReporter
Return the Http Response content type

Specified by:
getContentType in interface DiagnoseRunReporter

report

public void report(DiagnoseRun run)
Description copied from interface: DiagnoseRunReporter
Report a completed diagnose run

Specified by:
report in interface DiagnoseRunReporter

report

public void report(DiagnosticTaskResult result)

beginXML

public void beginXML()

endXML

public void endXML()


Copyright © 2012. All Rights Reserved.