Class RendererFactory


  • public final class RendererFactory
    extends Object
    This class handles the creation of Renderers.
    See Also:
    Renderer
    • Field Detail

      • REPORT_FORMAT_TO_RENDERER

        public static final Map<String,​Class<? extends Renderer>> REPORT_FORMAT_TO_RENDERER
    • 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.