Package org.smooks.engine.report
Class AbstractReportGenerator
- java.lang.Object
-
- org.smooks.engine.delivery.event.BasicExecutionEventListener
-
- org.smooks.engine.report.AbstractReportGenerator
-
- All Implemented Interfaces:
ExecutionEventListener
- Direct Known Subclasses:
FlatReportGenerator
,HtmlReportGenerator
public abstract class AbstractReportGenerator extends BasicExecutionEventListener
Abstract execution report generator.- Author:
- tom.fennelly@gmail.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AbstractReportGenerator.ReportNode
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractReportGenerator(ReportConfiguration reportConfiguration)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
applyTemplate(Report report)
Writer
getOutputWriter()
ReportConfiguration
getReportConfiguration()
protected boolean
ignoreEvent(ExecutionEvent event)
void
onEvent(ExecutionEvent executionEvent)
Process theExecutionEvent
.-
Methods inherited from class org.smooks.engine.delivery.event.BasicExecutionEventListener
getEvents, setFilterEvents
-
-
-
-
Constructor Detail
-
AbstractReportGenerator
protected AbstractReportGenerator(ReportConfiguration reportConfiguration)
-
-
Method Detail
-
getReportConfiguration
public ReportConfiguration getReportConfiguration()
-
getOutputWriter
public Writer getOutputWriter()
-
onEvent
public void onEvent(ExecutionEvent executionEvent)
Process theExecutionEvent
.- Specified by:
onEvent
in interfaceExecutionEventListener
- Overrides:
onEvent
in classBasicExecutionEventListener
- Parameters:
executionEvent
- TheExecutionEvent
.
-
ignoreEvent
protected boolean ignoreEvent(ExecutionEvent event)
- Overrides:
ignoreEvent
in classBasicExecutionEventListener
-
applyTemplate
public abstract void applyTemplate(Report report) throws IOException
- Throws:
IOException
-
-