Package org.smooks.engine.report
Class ReportConfiguration
- java.lang.Object
-
- org.smooks.engine.report.ReportConfiguration
-
public class ReportConfiguration extends Object
Report generation configuration.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description ReportConfiguration(Writer outputWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
autoCloseWriter()
boolean
escapeXMLChars()
Class<? extends ExecutionEvent>[]
getFilterEvents()
Writer
getOutputWriter()
File
getTempOutDir()
void
setAutoCloseWriter(boolean autoCloseWriter)
Should the writer be closed automatically after the report is completed.void
setEscapeXMLChars(boolean escapeXMLChars)
void
setFilterEvents(Class<? extends ExecutionEvent>... filterEvents)
Set a list ofevent
types on which to filter.void
setOutputWriter(Writer outputWriter)
void
setShowDefaultAppliedResources(boolean showDefaultAppliedResources)
void
setTempOutDir(File tempOutDir)
boolean
showDefaultAppliedResources()
-
-
-
Field Detail
-
TEMP_DIR
public static final File TEMP_DIR
-
-
Constructor Detail
-
ReportConfiguration
public ReportConfiguration(Writer outputWriter)
-
-
Method Detail
-
setOutputWriter
public void setOutputWriter(Writer outputWriter)
-
getOutputWriter
public Writer getOutputWriter()
-
escapeXMLChars
public boolean escapeXMLChars()
-
setEscapeXMLChars
public void setEscapeXMLChars(boolean escapeXMLChars)
-
showDefaultAppliedResources
public boolean showDefaultAppliedResources()
-
setShowDefaultAppliedResources
public void setShowDefaultAppliedResources(boolean showDefaultAppliedResources)
-
setFilterEvents
public void setFilterEvents(Class<? extends ExecutionEvent>... filterEvents)
Set a list ofevent
types on which to filter. The listener will only captureevent
types provided in this list. If not set, all events will be captured.- Parameters:
filterEvents
- Filter events.
-
getFilterEvents
public Class<? extends ExecutionEvent>[] getFilterEvents()
-
autoCloseWriter
public boolean autoCloseWriter()
-
setAutoCloseWriter
public void setAutoCloseWriter(boolean autoCloseWriter)
Should the writer be closed automatically after the report is completed. Default true.- Parameters:
autoCloseWriter
- True if the writer is to be closed, otherwise false.
-
getTempOutDir
public File getTempOutDir()
-
setTempOutDir
public void setTempOutDir(File tempOutDir)
-
-