Interface IHtmlProcessor

  • All Known Implementing Classes:
    HtmlInjector

    @StableMinor(version="14.1",
                 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: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 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