Interface IDocumentRenderer

  • All Known Implementing Classes:
    IBexRenderer, IBexRendererBase, XmlFoRendererBase

    public interface IDocumentRenderer
    This interface should be implemented by classes that can render a runtime document model.
    Since:
    6.0
    Author:
    Jon van Leuven, O. Kerpershoek
    • Method Detail

      • getOutputFormats

        OutputFormat[] getOutputFormats()
        This method returns the output formats the renderer supports.
        Returns:
        The output formats of the renderer, should never return null or an empty array.
      • renderDocument

        void renderDocument​(ICompositeElement document,
                            ILanguage language,
                            ApplicationID applicationId,
                            IRenderTarget result,
                            IPortalContext portalContent)
        This method should render the runtime document model to output streams for the specified output formats.
        Parameters:
        document - The document that should be rendered.
        language - The language to use for rendering.
        applicationId - The current application id.
        result - The object that should be used to write the result to.
        portalContent - Current portal context.
        Since:
        9.9.5