@Deprecated public class ProtectStringAsAttribute extends ProtectBody
| Constructor and Description |
|---|
ProtectStringAsAttribute()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doAfterBody()
Deprecated.
Executes the XSS removal and sets the cleaned HTML to the request attribute as
specified.
|
java.lang.String |
getName()
Deprecated.
Get the name of the attribute where the result is saved to.
|
void |
setName(java.lang.String name)
Deprecated.
Set the name to the attribute where the result is saved to.
|
getContext, getPolicy, setContext, setPolicydoEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic java.lang.String getName()
public void setName(java.lang.String name)
name - Attribute namepublic int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class ProtectBodyjavax.servlet.jsp.JspExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved