public class DisableJSBlocksRewriteRule extends RewriteRule
RewriteRule
for disabling inline SCRIPT
block
by zero-based positiional index. It replaces entire element
content of designated SCRIPT
with removeMsg
.
Typically set up as one of jsBlockTrans
of
FastArchivalUrlReplayParseEventHandler
.Constructor and Description |
---|
DisableJSBlocksRewriteRule() |
Modifier and Type | Method and Description |
---|---|
String |
getRemoveMsg() |
String |
rewrite(ReplayParseContext context,
String policy,
String input) |
void |
setRemoveMsg(String removeMsg) |
getName, setBeanName, setName
protected String removeMsg
public String getRemoveMsg()
public void setRemoveMsg(String removeMsg)
public String rewrite(ReplayParseContext context, String policy, String input)
rewrite
in class RewriteRule
Copyright © 2005–2015 IIPC. All rights reserved.