org.jboss.portal.portlet.impl.jsr168.taglib
Class URLParameterTag

java.lang.Object
  extended by TagSupport
      extended by org.jboss.portal.portlet.impl.jsr168.taglib.URLParameterTag

public class URLParameterTag
extends TagSupport

The additional parameters definitions for the actionURL and renderURL tags for the JSR 168 Portlet specification.

Version:
$Revision: 5448 $
Author:
Sherman Wood

Nested Class Summary
 class URLParameterTag.Parameter
           
 
Constructor Summary
URLParameterTag()
           
 
Method Summary
 int doEndTag()
          Include the parameter in the surround tag parameters
 int doStartTag()
          No body to process
 java.lang.String getName()
          The name of the parameter to add to the URL.
 java.lang.String getValue()
          The value of the parameter to add to the URL.
 void setName(java.lang.String name)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLParameterTag

public URLParameterTag()
Method Detail

getName

public java.lang.String getName()
The name of the parameter to add to the URL.

If null or empty, no action is performed.

Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getValue

public java.lang.String getValue()
The value of the parameter to add to the URL.

If null, it is processed as an empty value.

Returns:
Returns the value.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

doStartTag

public int doStartTag()
               throws JspException
No body to process

Throws:
JspException
See Also:
javax.servlet.jsp.tagext.Tag#doStartTag()

doEndTag

public int doEndTag()
             throws JspException
Include the parameter in the surround tag parameters

Throws:
JspException
See Also:
javax.servlet.jsp.tagext.Tag#doEndTag()