Class NoOpRendererFactory
java.lang.Object
com.aquima.interactions.framework.documents.NoOpRendererFactory
- All Implemented Interfaces:
IRendererFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the output formats that are supported by the renderer factory.getRenderer
(IResourceManager manager, String documentName, OutputFormat[] formats) This method returns the document renderer for the specified format.
-
Constructor Details
-
NoOpRendererFactory
public NoOpRendererFactory()
-
-
Method Details
-
getOutputFormats
Description copied from interface:IRendererFactory
This method returns the output formats that are supported by the renderer factory.- Specified by:
getOutputFormats
in interfaceIRendererFactory
- 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 interfaceIRendererFactory
- 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.
-