Class InvalidatePolicy

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.day.cq.xss.taglib.InvalidatePolicy
All Implemented Interfaces:
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:
  • Constructor Details

    • InvalidatePolicy

      public InvalidatePolicy()
      Deprecated.
  • Method Details

    • getPolicy

      public 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(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 interface Tag
      Overrides:
      doStartTag in class TagSupport
      Returns:
      SKIP_BODY
      Throws:
      JspException - if an error occurs while processing this tag
      See Also: