@Deprecated public class ProtectStringAsAttribute extends ProtectBody
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
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, setPolicy
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public 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.IterationTag
doAfterBody
in class ProtectBody
javax.servlet.jsp.JspException
Copyright © 2010 - 2020 Adobe. All Rights Reserved