Class CompositeApiRendererFactory
java.lang.Object
com.aquima.web.api.model.page.renderer.CompositeApiRendererFactory
- All Implemented Interfaces:
IApiRendererFactory
Composite implementation of the IApiRendererFactory
- Since:
- 9.2
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFactory
(IApiRendererFactory factory) Adds a factory.getRenderer
(com.aquima.interactions.composer.IElement element) This method returns the renderer for a specified model.
-
Constructor Details
-
CompositeApiRendererFactory
public CompositeApiRendererFactory() -
CompositeApiRendererFactory
-
-
Method Details
-
getRenderer
Description copied from interface:IApiRendererFactory
This method returns the renderer for a specified model.- Specified by:
getRenderer
in interfaceIApiRendererFactory
- Parameters:
element
- The element to create a renderer for, not null.- Returns:
- The renderer for the element, never null.
-
addFactory
Adds a factory.- Parameters:
factory
- Factory implementation, not null.
-