Package com.day.cq.xss.taglib
Class InvalidatePolicy
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.day.cq.xss.taglib.InvalidatePolicy
-
- All Implemented Interfaces:
java.io.Serializable
,IterationTag
,JspTag
,Tag
@Deprecated public class InvalidatePolicy extends TagSupport
Deprecated.This class provides a tag that can be used to invalidate a cached policy.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
-
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
-
Constructor Summary
Constructors Constructor Description InvalidatePolicy()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
doStartTag()
Deprecated.Handles the opening tag.java.lang.String
getPolicy()
Deprecated.Get the path to the policy to be used.void
setPolicy(java.lang.String policy)
Deprecated.Set the path to the policy to be used.-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
getPolicy
public java.lang.String getPolicy()
Deprecated.Get the path to the policy to be used.- Returns:
- Path to policy file to use;
null
, if the default policy has to be used
-
setPolicy
public void setPolicy(java.lang.String policy)
Deprecated.Set the path to the policy to be used.- Parameters:
policy
- Path to policy file to use;null
, if the default policy has to be used
-
doStartTag
public int doStartTag() throws JspException
Deprecated.Handles the opening tag.- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Returns:
SKIP_BODY
- Throws:
JspException
- if an error occurs while processing this tag- See Also:
Tag.doStartTag()
-
-