public class XMLRenderer extends AbstractIncrementingRenderer
Modifier and Type | Field and Description |
---|---|
static StringProperty |
ENCODING |
static java.lang.String |
NAME |
configErrors, errors, suppressed
description, name, showSuppressedViolations, writer
propertyDescriptors, propertyValuesByDescriptor
Constructor and Description |
---|
XMLRenderer() |
XMLRenderer(java.lang.String encoding) |
Modifier and Type | Method and 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 |
renderFileViolations(java.util.Iterator<RuleViolation> violations)
Render a series of
RuleViolation s. |
void |
start()
This method is called before any source files are processed.
|
renderFileReport, startFileAnalysis
flush, getDescription, getName, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWriter
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
public static final java.lang.String NAME
public static final StringProperty ENCODING
public XMLRenderer()
public XMLRenderer(java.lang.String encoding)
public java.lang.String defaultFileExtension()
Renderer
public void start() throws java.io.IOException
start
in interface Renderer
start
in class AbstractIncrementingRenderer
java.io.IOException
public void renderFileViolations(java.util.Iterator<RuleViolation> violations) throws java.io.IOException
RuleViolation
s.renderFileViolations
in class AbstractIncrementingRenderer
violations
- The iterator of violations to render.java.io.IOException
public void end() throws java.io.IOException
Renderer.renderFileReport(Report)
.end
in interface Renderer
end
in class AbstractIncrementingRenderer
java.io.IOException
Copyright © 2002–2018 PMD. All rights reserved.