Package net.sourceforge.pmd.renderers
Class RendererFactory
- java.lang.Object
-
- net.sourceforge.pmd.renderers.RendererFactory
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,Class<? extends Renderer>>
REPORT_FORMAT_TO_RENDERER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Renderer
createRenderer(String reportFormat, Properties properties)
Construct an instance of a Renderer based on report format name.
-
-
-
Method Detail
-
createRenderer
public static Renderer createRenderer(String reportFormat, Properties properties)
Construct an instance of a Renderer based on report format name.- Parameters:
reportFormat
- The report format name.properties
- Initialization properties for the corresponding Renderer.- Returns:
- A Renderer instance.
-
-