Interface IHtmlProcessor

  • All Known Implementing Classes:
    HtmlInjector

    @StableMinor(version="15.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: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void init​(java.lang.String serviceInstanceId)
      Initializes this HTML processor with the given service instance identifier.
      java.lang.String process​(java.lang.String originalHtml, IPageWebResourceRenderRequest pageWebResourceRenderRequest)
      Returns the processed HMTL for user.
    • Method Detail

      • process

        java.lang.String process​(java.lang.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​(java.lang.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