Update to clarify return values of 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.
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 01:02:08 -0000 @@ -139,7 +139,8 @@ /** * The body of the <variable-class> 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 <declare> 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 <scope> 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]>