PropertySource, Rendererpublic class HTMLRenderer extends AbstractIncrementingRenderer
| Modifier and Type | Field | Description |
|---|---|---|
static StringProperty |
LINE_PREFIX |
|
static StringProperty |
LINK_PREFIX |
|
static java.lang.String |
NAME |
configErrors, errors, suppressedpropertyDescriptors, propertyValuesByDescriptordescription, name, showSuppressedViolations, writer| Constructor | Description |
|---|---|
HTMLRenderer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.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(java.io.Writer writer,
Report report) |
Write the body of the main body of the HTML content.
|
void |
renderFileViolations(java.util.Iterator<RuleViolation> violations) |
Render a series of
RuleViolations. |
void |
start() |
This method is called before any source files are processed.
|
renderFileReport, startFileAnalysiscopyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuesflush, getDescription, getName, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefinePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuespublic static final java.lang.String NAME
public static final StringProperty LINE_PREFIX
public static final StringProperty LINK_PREFIX
public java.lang.String defaultFileExtension()
Rendererpublic void renderBody(java.io.Writer writer,
Report report)
throws java.io.IOException
writer - report - java.io.IOExceptionpublic void start()
throws java.io.IOException
Rendererstart in interface Rendererstart in class AbstractIncrementingRendererjava.io.IOExceptionpublic void renderFileViolations(java.util.Iterator<RuleViolation> violations) throws java.io.IOException
AbstractIncrementingRendererRuleViolations.renderFileViolations in class AbstractIncrementingRendererviolations - The iterator of violations to render.java.io.IOExceptionpublic void end()
throws java.io.IOException
RendererRenderer.renderFileReport(Report).end in interface Rendererend in class AbstractIncrementingRendererjava.io.IOExceptionCopyright © 2002–2018 PMD. All rights reserved.