Please use the attached patch instead of the one I previously posted.

Changes
--------------------------------
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.



Thanks,

-rl

Index: TagLibraryInfo.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext/TagLibraryInfo.java,v
retrieving revision 1.3
diff -u -r1.3 TagLibraryInfo.java
--- TagLibraryInfo.java	20 Aug 2002 21:08:24 -0000	1.3
+++ TagLibraryInfo.java	10 Oct 2002 23:38:29 -0000
@@ -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
      */
Index: TagVariableInfo.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext/TagVariableInfo.java,v
retrieving revision 1.2
diff -u -r1.2 TagVariableInfo.java
--- TagVariableInfo.java	19 Aug 2002 16:29:51 -0000	1.2
+++ TagVariableInfo.java	10 Oct 2002 23:38:30 -0000
@@ -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