|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pmd.AbstractPropertySource
net.sourceforge.pmd.renderers.AbstractRenderer
public abstract class AbstractRenderer
Abstract base class for Renderer implementations.
| Field Summary | |
|---|---|
protected String |
description
|
protected String |
name
|
protected Map<String,String> |
propertyDefinitions
Deprecated. |
protected boolean |
showSuppressedViolations
|
protected Writer |
writer
|
| Fields inherited from class net.sourceforge.pmd.AbstractPropertySource |
|---|
propertyDescriptors, propertyValuesByDescriptor |
| Constructor Summary | |
|---|---|
AbstractRenderer(String name,
String description)
|
|
| Method Summary | |
|---|---|
protected void |
defineProperty(String name,
String description)
Deprecated. |
void |
flush()
|
String |
getDescription()
Get the description of the Renderer. |
String |
getName()
Gets the name of the property source. |
Map<String,String> |
getPropertyDefinitions()
Deprecated. |
Writer |
getWriter()
Get the Writer for the Renderer. |
boolean |
isShowSuppressedViolations()
Get the indicator for whether to show suppressed violations. |
void |
setDescription(String description)
Set the description of the Renderer. |
void |
setName(String name)
Set the name of the Renderer. |
void |
setShowSuppressedViolations(boolean showSuppressedViolations)
Set the indicator for whether to show suppressed violations. |
void |
setWriter(Writer writer)
Set the Writer for the Renderer. |
| Methods inherited from class net.sourceforge.pmd.AbstractPropertySource |
|---|
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.pmd.renderers.Renderer |
|---|
defaultFileExtension, end, renderFileReport, start, startFileAnalysis |
| Methods inherited from interface net.sourceforge.pmd.PropertySource |
|---|
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues |
| Field Detail |
|---|
protected String name
protected String description
@Deprecated protected Map<String,String> propertyDefinitions
protected boolean showSuppressedViolations
protected Writer writer
| Constructor Detail |
|---|
public AbstractRenderer(String name,
String description)
| Method Detail |
|---|
public String getName()
getName in interface RenderergetName in class AbstractPropertySourcepublic void setName(String name)
setName in interface Renderername - The name of the Renderer.public String getDescription()
getDescription in interface Rendererpublic void setDescription(String description)
setDescription in interface Rendererdescription - The description of the Renderer.@Deprecated public Map<String,String> getPropertyDefinitions()
getPropertyDefinitions in interface Renderer
@Deprecated
protected void defineProperty(String name,
String description)
name - The property name.description - The description of the property.public boolean isShowSuppressedViolations()
isShowSuppressedViolations in interface Renderertrue if suppressed violations should show, false otherwise.public void setShowSuppressedViolations(boolean showSuppressedViolations)
setShowSuppressedViolations in interface RenderershowSuppressedViolations - Whether to show suppressed violations.public void setWriter(Writer writer)
setWriter in interface Rendererwriter - The Writer.public Writer getWriter()
getWriter in interface Rendererpublic void flush()
flush in interface Renderer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||