Class ScriptingHtmlProcessor

  • All Implemented Interfaces:
    IHtmlProcessor

    public final class ScriptingHtmlProcessor
    extends AbstractHtmlProcessor
    A IHtmlProcessor implementation that uses scripting languages to process the HTML.
    Since:
    16.0.0
    Version:
    $Revision: 26035 $ $Date: 2023-11-30 14:49:12 -0300 (Thu, 30 Nov 2023) $
    • Constructor Detail

      • ScriptingHtmlProcessor

        public ScriptingHtmlProcessor()
    • 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