public class HTMLRenderer extends AbstractIncrementingRenderer
| Modifier and Type | Field and Description |
|---|---|
static StringProperty |
LINE_PREFIX |
static StringProperty |
LINK_PREFIX |
static String |
NAME |
errors, suppresseddescription, name, propertyDefinitions, showSuppressedViolations, writerpropertyDescriptors, propertyValuesByDescriptor| Constructor and Description |
|---|
HTMLRenderer() |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultFileExtension()
Return the default filename extension to use.
|
void |
end()
This method is at the very end of the Rendering process, after
Renderer.renderFileReport(Report). |
void |
renderBody(Writer writer,
Report report)
Write the body of the main body of the HTML content.
|
void |
renderFileViolations(Iterator<RuleViolation> violations)
Render a series of
RuleViolations. |
void |
start()
This method is called before any source files are processed.
|
renderFileReport, startFileAnalysisdefineProperty, flush, getDescription, getName, getPropertyDefinitions, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWritercopyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefinePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValuespublic static final String NAME
public static final StringProperty LINE_PREFIX
public static final StringProperty LINK_PREFIX
public String defaultFileExtension()
Rendererpublic void renderBody(Writer writer, Report report) throws IOException
writer - report - IOExceptionpublic void start()
throws IOException
start in interface Rendererstart in class AbstractIncrementingRendererIOExceptionpublic void renderFileViolations(Iterator<RuleViolation> violations) throws IOException
RuleViolations.renderFileViolations in class AbstractIncrementingRendererviolations - The iterator of violations to render.IOExceptionpublic void end()
throws IOException
Renderer.renderFileReport(Report).end in interface Rendererend in class AbstractIncrementingRendererIOExceptionCopyright © 2002-2014 InfoEther. All Rights Reserved.