Package lumis.service.htmlinjector
Class HtmlInjector
- java.lang.Object
-
- lumis.service.htmlinjector.HtmlInjector
-
- All Implemented Interfaces:
IHtmlProcessor
public class HtmlInjector extends Object implements IHtmlProcessor
IHtmlProcessor
that injects managed HTML into pages.- Since:
- 8.2.0
- Version:
- $Revision: 22901 $ $Date: 2019-07-02 11:51:03 -0300 (Tue, 02 Jul 2019) $
-
-
Constructor Summary
Constructors Constructor Description HtmlInjector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(String serviceInstanceId)
Initializes this HTML processor with the given service instance identifier.String
process(String originalHtml, IPageWebResourceRenderRequest pageWebResourceRenderRequest)
Returns the processed HMTL for user.
-
-
-
Method Detail
-
process
public String process(String originalHtml, IPageWebResourceRenderRequest pageWebResourceRenderRequest) throws PortalException
Description copied from interface:IHtmlProcessor
Returns the processed HMTL for user. This method must not returnnull
.- Specified by:
process
in interfaceIHtmlProcessor
- Parameters:
originalHtml
- the original HMTL.pageWebResourceRenderRequest
- the page webresource render request.- Returns:
- the processed HMTL for user.
- Throws:
PortalException
-
init
public void init(String serviceInstanceId) throws PortalException
Description copied from interface:IHtmlProcessor
Initializes this HTML processor with the given service instance identifier.- Specified by:
init
in interfaceIHtmlProcessor
- Parameters:
serviceInstanceId
- the service instance identifier.- Throws:
PortalException
-
-