public class HtmlInjector extends Object implements IHtmlProcessor
IHtmlProcessor
that injects managed HTML into pages.Constructor and Description |
---|
HtmlInjector() |
Modifier and Type | Method and 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.
|
public String process(String originalHtml, IPageWebResourceRenderRequest pageWebResourceRenderRequest) throws PortalException
IHtmlProcessor
null
.process
in interface IHtmlProcessor
originalHtml
- the original HMTL.pageWebResourceRenderRequest
- the page webresource render request.PortalException
public void init(String serviceInstanceId) throws PortalException
IHtmlProcessor
init
in interface IHtmlProcessor
serviceInstanceId
- the service instance identifier.PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.