Interface IHtmlProcessor

  • All Known Implementing Classes:
    HtmlInjector

    @StableMinor(version="14.0",
                 sinceVersion="8.2")
    public interface IHtmlProcessor
    Contains methods responsible for processing page HTML before it is sent to clients.
    Since:
    8.2.0
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • Method Detail

      • process

        String process​(String originalHtml,
                       IPageWebResourceRenderRequest pageWebResourceRenderRequest)
                throws PortalException
        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
        Since:
        8.2.0
      • init

        void init​(String serviceInstanceId)
           throws PortalException
        Initializes this HTML processor with the given service instance identifier.
        Parameters:
        serviceInstanceId - the service instance identifier.
        Throws:
        PortalException
        Since:
        8.2.0