org.anadix.impl
Class XHTMLReportFormatter

java.lang.Object
  extended by org.anadix.impl.DefaultReportFormatter
      extended by org.anadix.impl.XHTMLReportFormatter
All Implemented Interfaces:
ReportFormatter

public class XHTMLReportFormatter
extends DefaultReportFormatter


Constructor Summary
XHTMLReportFormatter()
           
 
Method Summary
 String format(Report report)
          Most important method that returns String containing formatted results.
 String getReportFileExtension()
          Gets the extension that should be used for report files when storing formatted reports.
 
Methods inherited from class org.anadix.impl.DefaultReportFormatter
formatAndStore, formatAndStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XHTMLReportFormatter

public XHTMLReportFormatter()
Method Detail

getReportFileExtension

public String getReportFileExtension()
Description copied from class: DefaultReportFormatter
Gets the extension that should be used for report files when storing formatted reports.

Specified by:
getReportFileExtension in interface ReportFormatter
Overrides:
getReportFileExtension in class DefaultReportFormatter
Returns:
extension of newly created report files or null if no extension is necessary

format

public String format(Report report)
Description copied from interface: ReportFormatter
Most important method that returns String containing formatted results. The content of the String depends on implementation of this method, it may be simple text as well as XML, HTML or any other format.

Parameters:
report - - report to create output from
Returns:
formatted Report as a String


Copyright © 2011. All Rights Reserved.