Class RendererFactory


  • public final class RendererFactory
    extends java.lang.Object
    This class handles the creation of Renderers.
    See Also:
    Renderer
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Renderer createRenderer​(java.lang.String reportFormat, java.util.Properties properties)
      Construct an instance of a Renderer based on report format name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • REPORT_FORMAT_TO_RENDERER

        public static final java.util.Map<java.lang.String,​java.lang.Class<? extends Renderer>> REPORT_FORMAT_TO_RENDERER
    • Method Detail

      • createRenderer

        public static Renderer createRenderer​(java.lang.String reportFormat,
                                              java.util.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.