Class ScriptingHtmlProcessor
- java.lang.Object
-
- lumis.portal.presentation.AbstractHtmlProcessor
-
- lumis.service.scriptinghtmlprocessor.ScriptingHtmlProcessor
-
- All Implemented Interfaces:
IHtmlProcessor
public final class ScriptingHtmlProcessor extends AbstractHtmlProcessor
AIHtmlProcessor
implementation that uses scripting languages to process the HTML.- Since:
- 16.0.0
- Version:
- $Revision: 26035 $ $Date: 2023-11-30 14:49:12 -0300 (Thu, 30 Nov 2023) $
-
-
Constructor Summary
Constructors Constructor Description ScriptingHtmlProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearScriptsCache()
Clears the scripts cache.java.lang.String
process(java.lang.String originalHtml, IPageWebResourceRenderRequest pageWebResourceRenderRequest)
Returns the processed HMTL for user.-
Methods inherited from class lumis.portal.presentation.AbstractHtmlProcessor
getPropertyValue, getPropertyValues, getServiceInstanceId, getServiceInstancePropertyValue, getServiceInstancePropertyValues, init
-
-
-
-
Method Detail
-
process
public java.lang.String process(java.lang.String originalHtml, IPageWebResourceRenderRequest pageWebResourceRenderRequest) throws PortalException
Description copied from interface:IHtmlProcessor
Returns the processed HMTL for user. This method must not returnnull
.- Parameters:
originalHtml
- the original HMTL.pageWebResourceRenderRequest
- the page webresource render request.- Returns:
- the processed HMTL for user.
- Throws:
PortalException
-
clearScriptsCache
public static void clearScriptsCache() throws PortalException
Clears the scripts cache.- Throws:
PortalException
- Since:
- 16.0.0
-
-