You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by gl...@locus.apache.org on 2000/11/03 13:53:20 UTC

cvs commit: jakarta-taglibs/request/src/org/apache/taglibs/request SetAttributeTag.java

glenn       00/11/03 04:53:20

  Modified:    request/src/org/apache/taglibs/request SetAttributeTag.java
  Log:
  Cleanup for release
  
  Revision  Changes    Path
  1.2       +11 -6     jakarta-taglibs/request/src/org/apache/taglibs/request/SetAttributeTag.java
  
  Index: SetAttributeTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/SetAttributeTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SetAttributeTag.java	2000/09/24 00:02:57	1.1
  +++ SetAttributeTag.java	2000/11/03 12:53:20	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/SetAttributeTag.java,v 1.1 2000/09/24 00:02:57 glenn Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/09/24 00:02:57 $
  + * $Header: /home/cvs/jakarta-taglibs/request/src/org/apache/taglibs/request/SetAttributeTag.java,v 1.2 2000/11/03 12:53:20 glenn Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/11/03 12:53:20 $
    *
    * ====================================================================
    *
  @@ -96,7 +96,7 @@
        *
        * @return EVAL_BODY_TAG
        */
  -    public int doStartTag() throws JspException
  +    public final int doStartTag() throws JspException
       {
   	return EVAL_BODY_TAG;
       }
  @@ -107,7 +107,7 @@
        *
        * @return SKIP_BODY
        */
  -    public int doAfterBody() throws JspException
  +    public final int doAfterBody() throws JspException
       {
   	// Use the body of the tag as attribute value
   	BodyContent body = getBodyContent();
  @@ -120,7 +120,12 @@
   	return SKIP_BODY;
       }
   
  -    public void setName(String str)
  +    /**
  +     * Set the required tag attribute <b>name</b>.
  +     *
  +     * @param String name of request attribute to set value for
  +     */
  +    public final void setName(String str)
       {   
   	name = str;
       }