Class HtmlInjector

  • All Implemented Interfaces:
    IHtmlProcessor

    public class HtmlInjector
    extends AbstractHtmlProcessor
    IHtmlProcessor that injects managed HTML into pages.
    Since:
    8.2.0
    Version:
    $Revision: 25418 $ $Date: 2023-01-16 15:26:55 -0300 (Mon, 16 Jan 2023) $
    • Constructor Detail

      • HtmlInjector

        public HtmlInjector()
    • Method Detail

      • process

        public java.lang.String process​(java.lang.String originalHtml,
                                        IPageWebResourceRenderRequest pageWebResourceRenderRequest)
                                 throws PortalException
        Description copied from interface: IHtmlProcessor
        Returns the processed HMTL for user. This method must not return null.
        Parameters:
        originalHtml - the original HMTL.
        pageWebResourceRenderRequest - the page webresource render request.
        Returns:
        the processed HMTL for user.
        Throws:
        PortalException