kinman      2002/10/11 13:35:26

  Modified:    jsr152/src/share/javax/servlet/jsp/tagext
                        TagLibraryInfo.java TagVariableInfo.java
  Log:
  - Patch submitted by Ryan Lubke <[EMAIL PROTECTED]>
  
  TagVariableInfo
    - getClassName() will return java.lang.String if
      the <variable-class> element is not specified.
  
    - getDeclare() will return true if the <declare>
      element is not specified.
  
    - getScope() will return NESTED as the scope if
      <scope> is not specified.
  
  TagLibraryInfo
  
    - Changed the directive from include to taglib in
      description of getShortName().
  
    - Minor rewording of getReliableURN for clarity.
  
  Revision  Changes    Path
  1.4       +3 -4      
jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext/TagLibraryInfo.java
  
  Index: TagLibraryInfo.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext/TagLibraryInfo.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TagLibraryInfo.java       20 Aug 2002 21:08:24 -0000      1.3
  +++ TagLibraryInfo.java       11 Oct 2002 20:35:26 -0000      1.4
  @@ -148,7 +148,7 @@
       /**
        * The preferred short name (prefix) as indicated in the TLD.
        * This may be used by authoring tools as the preferred prefix
  -     * to use when creating an include directive for this library.
  +     * to use when creating an taglib directive for this library.
        *
        * @return the preferred short name for the library
        */
  @@ -157,10 +157,9 @@
       }
   
       /**
  -     * The "reliable" URN indicated in the TLD.
  +     * The "reliable" URN indicated in the TLD (the uri element).
        * This may be used by authoring tools as a global identifier
  -     * (the uri attribute) to use when creating a taglib directive
  -     * for this library.
  +     * to use when creating a taglib directive for this library.
        *
        * @return a reliable URN to a TLD like this
        */
  
  
  
  1.3       +7 -3      
jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext/TagVariableInfo.java
  
  Index: TagVariableInfo.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext/TagVariableInfo.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TagVariableInfo.java      19 Aug 2002 16:29:51 -0000      1.2
  +++ TagVariableInfo.java      11 Oct 2002 20:35:26 -0000      1.3
  @@ -139,7 +139,8 @@
       /**
        * The body of the &lt;variable-class&gt; element.  
        *
  -     * @return The name of the class of the variable
  +     * @return The name of the class of the variable or
  +     *         'java.lang.String' if not defined in the TLD.
        */
   
       public String getClassName() {
  @@ -149,7 +150,8 @@
       /**
        * The body of the &lt;declare&gt; element
        *
  -     * @return Whether the variable is to be declared or not
  +     * @return Whether the variable is to be declared or not.
  +     *         If not defined in the TLD, 'true' will be returned.
        */
   
       public boolean getDeclare() {
  @@ -159,7 +161,9 @@
       /**
        * The body of the &lt;scope&gt; element
        *
  -     * @return The scope to give the variable.
  +     * @return The scope to give the variable.  NESTED
  +     *         scope will be returned if not defined in 
  +     *         the TLD.
        */
   
       public int getScope() {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to