Class RendererFactory

java.lang.Object
net.sourceforge.pmd.renderers.RendererFactory

public final class RendererFactory extends Object
This class handles the creation of Renderers.
See Also:
  • Method Details

    • supportedRenderers

      public static Set<String> supportedRenderers()
      Retrieves a collection of all supported renderer names.
      Returns:
      The set of all supported renderer names.
    • 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.