|
||||||||||
| 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 java.lang.String |
description
|
protected java.lang.String |
name
|
protected java.util.Map<java.lang.String,java.lang.String> |
propertyDefinitions
Deprecated. |
protected boolean |
showSuppressedViolations
|
protected java.io.Writer |
writer
|
| Fields inherited from class net.sourceforge.pmd.AbstractPropertySource |
|---|
propertyDescriptors, propertyValuesByDescriptor |
| Constructor Summary | |
|---|---|
AbstractRenderer(java.lang.String name,
java.lang.String description)
|
|
| Method Summary | |
|---|---|
protected void |
defineProperty(java.lang.String name,
java.lang.String description)
Deprecated. |
void |
flush()
|
java.lang.String |
getDescription()
Get the description of the Renderer. |
java.lang.String |
getName()
Gets the name of the property source. |
java.util.Map<java.lang.String,java.lang.String> |
getPropertyDefinitions()
Deprecated. |
java.io.Writer |
getWriter()
Get the Writer for the Renderer. |
boolean |
isShowSuppressedViolations()
Get the indicator for whether to show suppressed violations. |
void |
setDescription(java.lang.String description)
Set the description of the Renderer. |
void |
setName(java.lang.String name)
Set the name of the Renderer. |
void |
setShowSuppressedViolations(boolean showSuppressedViolations)
Set the indicator for whether to show suppressed violations. |
void |
setWriter(java.io.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 java.lang.String name
protected java.lang.String description
@Deprecated protected java.util.Map<java.lang.String,java.lang.String> propertyDefinitions
protected boolean showSuppressedViolations
protected java.io.Writer writer
| Constructor Detail |
|---|
public AbstractRenderer(java.lang.String name,
java.lang.String description)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface RenderergetName in class AbstractPropertySourcepublic void setName(java.lang.String name)
setName in interface Renderername - The name of the Renderer.public java.lang.String getDescription()
getDescription in interface Rendererpublic void setDescription(java.lang.String description)
setDescription in interface Rendererdescription - The description of the Renderer.@Deprecated public java.util.Map<java.lang.String,java.lang.String> getPropertyDefinitions()
getPropertyDefinitions in interface Renderer
@Deprecated
protected void defineProperty(java.lang.String name,
java.lang.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(java.io.Writer writer)
setWriter in interface Rendererwriter - The Writer.public java.io.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 | |||||||||