Class RendererFactory

  • All Implemented Interfaces:
    IRendererFactory

    public class RendererFactory
    extends Object
    implements IRendererFactory
    Renderer factory, with constructor based creation.
    Since:
    6.1
    Author:
    J. van Leuven
    • Constructor Detail

      • RendererFactory

        public RendererFactory​(Map<Object,​IDocumentRenderer> renderers)
        Constructs a renderer factory with a map of key=outputformat and value IDocumentRenderer instances. (This factory does not support versioning and such.)
        Parameters:
        renderers - a map of outputformat to renderer factory implementation
    • Method Detail

      • getOutputFormats

        public OutputFormat[] getOutputFormats()
        Description copied from interface: IRendererFactory
        This method returns the output formats that are supported by the renderer factory.
        Specified by:
        getOutputFormats in interface IRendererFactory
        Returns:
        Array containing the output formats that are supported by the renderer factory.