Package net.sourceforge.pmd.renderers
Class YAHTMLRenderer
- java.lang.Object
-
- net.sourceforge.pmd.properties.AbstractPropertySource
-
- net.sourceforge.pmd.renderers.AbstractRenderer
-
- net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
-
- net.sourceforge.pmd.renderers.YAHTMLRenderer
-
- All Implemented Interfaces:
PropertySource
,Renderer
public class YAHTMLRenderer extends AbstractAccumulatingRenderer
Renderer to another HTML format.
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
static StringProperty
OUTPUT_DIR
-
Fields inherited from class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
report
-
Fields inherited from class net.sourceforge.pmd.renderers.AbstractRenderer
description, inputPathPrefixes, name, showSuppressedViolations, writer
-
Fields inherited from class net.sourceforge.pmd.properties.AbstractPropertySource
propertyDescriptors, propertyValuesByDescriptor
-
-
Constructor Summary
Constructors Constructor Description YAHTMLRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
defaultFileExtension()
Return the default filename extension to use.void
end()
Subclasses should output theAbstractAccumulatingRenderer.report
.-
Methods inherited from class net.sourceforge.pmd.renderers.AbstractAccumulatingRenderer
renderFileReport, start, startFileAnalysis
-
Methods inherited from class net.sourceforge.pmd.renderers.AbstractRenderer
determineFileName, flush, getDescription, getName, getPropertySourceType, getWriter, isShowSuppressedViolations, setDescription, setName, setReportFile, setShowSuppressedViolations, setUseShortNames, setWriter
-
Methods inherited from class net.sourceforge.pmd.properties.AbstractPropertySource
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, 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.properties.PropertySource
definePropertyDescriptor, dysfunctionReason, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
OUTPUT_DIR
public static final StringProperty OUTPUT_DIR
-
-
Method Detail
-
defaultFileExtension
public String defaultFileExtension()
Description copied from interface:Renderer
Return the default filename extension to use.- Returns:
- String
-
end
public void end() throws IOException
Description copied from class:AbstractAccumulatingRenderer
Subclasses should output theAbstractAccumulatingRenderer.report
. This method is at the very end of the Rendering process, afterRenderer.renderFileReport(Report)
.- Specified by:
end
in interfaceRenderer
- Specified by:
end
in classAbstractAccumulatingRenderer
- Throws:
IOException
-
-