Class NoOpRendererFactory

java.lang.Object
com.aquima.interactions.framework.documents.NoOpRendererFactory
All Implemented Interfaces:
IRendererFactory

public class NoOpRendererFactory extends Object implements IRendererFactory
  • Constructor Details

    • NoOpRendererFactory

      public NoOpRendererFactory()
  • Method Details

    • 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.
    • getRenderer

      public IDocumentRenderer getRenderer(IResourceManager manager, String documentName, OutputFormat[] formats)
      Description copied from interface: IRendererFactory
      This method returns the document renderer for the specified format.
      Specified by:
      getRenderer in interface IRendererFactory
      Parameters:
      manager - A resource manager that can be used to initialize a renderer.
      documentName - The name of the document for which a renderer is requested.
      formats - The output format(s) for which a renderer is requested.
      Returns:
      The document renderer for the specified output format.