Class CompositeApiRendererFactory

java.lang.Object
com.aquima.web.api.model.page.renderer.CompositeApiRendererFactory
All Implemented Interfaces:
IApiRendererFactory

public class CompositeApiRendererFactory extends Object implements IApiRendererFactory
Composite implementation of the IApiRendererFactory
Since:
9.2
Author:
A.Pragt
  • Constructor Details

    • CompositeApiRendererFactory

      public CompositeApiRendererFactory()
    • CompositeApiRendererFactory

      public CompositeApiRendererFactory(List<IApiRendererFactory> factories)
  • Method Details

    • getRenderer

      public IModelRenderer getRenderer(com.aquima.interactions.composer.IElement element)
      Description copied from interface: IApiRendererFactory
      This method returns the renderer for a specified model.
      Specified by:
      getRenderer in interface IApiRendererFactory
      Parameters:
      element - The element to create a renderer for, not null.
      Returns:
      The renderer for the element, never null.
    • addFactory

      public void addFactory(IApiRendererFactory factory)
      Adds a factory.
      Parameters:
      factory - Factory implementation, not null.