org.anadix.impl
Class XHTMLReportFormatter
java.lang.Object
org.anadix.impl.DefaultReportFormatter
org.anadix.impl.XHTMLReportFormatter
- All Implemented Interfaces:
- ReportFormatter
public class XHTMLReportFormatter
- extends DefaultReportFormatter
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XHTMLReportFormatter
public XHTMLReportFormatter()
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.