public class XMLRenderer extends AbstractIncrementingRenderer
| Modifier and Type | Field and Description |
|---|---|
static StringProperty |
ENCODING |
static String |
NAME |
errors, suppresseddescription, name, propertyDefinitions, showSuppressedViolations, writerpropertyDescriptors, propertyValuesByDescriptor| Constructor and Description |
|---|
XMLRenderer() |
XMLRenderer(String encoding) |
| 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 |
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 ENCODING
public XMLRenderer()
public XMLRenderer(String encoding)
public String defaultFileExtension()
Rendererpublic 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.