com.day.cq.wcm.tags
Class RemoveParamTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.day.cq.wcm.tags.RemoveParamTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class RemoveParamTag
extends javax.servlet.jsp.tagext.TagSupport

RemoveParamTag removes a parameter value from the request URL. If no value is given to the tag, then all parameters with the given name are removed, otherwise only the given value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
RemoveParamTag()
           
 
Method Summary
protected  void applyTo(RequestURLTag urlTag)
          A concrete implementation will modify the passed urlTag in a implementation specific way.
 int doEndTag()
           
 String getName()
           
 String getValue()
           
 void release()
          Do some clean up.
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveParamTag

public RemoveParamTag()
Method Detail

applyTo

protected void applyTo(RequestURLTag urlTag)
A concrete implementation will modify the passed urlTag in a implementation specific way.

Parameters:
urlTag - the request URL tag that will be modified.

doEndTag

public final int doEndTag()
                   throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

release

public void release()
Do some clean up.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

getName

public String getName()

setName

public void setName(String name)
             throws javax.servlet.jsp.el.ELException
Throws:
javax.servlet.jsp.el.ELException

getValue

public String getValue()

setValue

public void setValue(String value)
              throws javax.servlet.jsp.el.ELException
Throws:
javax.servlet.jsp.el.ELException


Copyright © 2008 Day Management AG. All Rights Reserved.