You are viewing a plain text version of this content. The canonical link for it is here.
Posted to servletapi-dev@jakarta.apache.org by ed...@locus.apache.org on 2000/10/23 20:19:13 UTC

cvs commit: jakarta-servletapi/src/share/javax/servlet/jsp/tagext TagInfo.java TagLibraryInfo.java

eduardop    00/10/23 11:19:09

  Modified:    src/share/javax/servlet/jsp/tagext Tag: SERVLET_23_JSP_12
                        TagInfo.java TagLibraryInfo.java
  Log:
  Added comments about TagLibraryInfo having information that is specific
  to a given taglib directive.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.1.1.4.2 +5 -0      jakarta-servletapi/src/share/javax/servlet/jsp/tagext/TagInfo.java
  
  Index: TagInfo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/jsp/tagext/TagInfo.java,v
  retrieving revision 1.1.1.1.4.1
  retrieving revision 1.1.1.1.4.2
  diff -u -r1.1.1.1.4.1 -r1.1.1.1.4.2
  --- TagInfo.java	2000/08/24 21:05:30	1.1.1.1.4.1
  +++ TagInfo.java	2000/10/23 18:19:08	1.1.1.1.4.2
  @@ -88,6 +88,11 @@
        * under request from some JSP code that is parsing a
        * TLD (Tag Library Descriptor).
        *
  +     * Note that, since TagLibibraryInfo reflects both TLD information
  +     * and taglib directive information, a TagInfo instance is
  +     * dependent on a taglib directive.  This is probably a
  +     * design error, which may be fixed in the future.
  +     *
        * @param tagName The name of this tag
        * @param tagClassName The name of the tag handler class
        * @param bodycontent Information on the body content of these tags
  
  
  
  1.1.1.1.4.2 +9 -2      jakarta-servletapi/src/share/javax/servlet/jsp/tagext/TagLibraryInfo.java
  
  Index: TagLibraryInfo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/jsp/tagext/TagLibraryInfo.java,v
  retrieving revision 1.1.1.1.4.1
  retrieving revision 1.1.1.1.4.2
  diff -u -r1.1.1.1.4.1 -r1.1.1.1.4.2
  --- TagLibraryInfo.java	2000/08/24 21:05:30	1.1.1.1.4.1
  +++ TagLibraryInfo.java	2000/10/23 18:19:08	1.1.1.1.4.2
  @@ -62,8 +62,13 @@
   import java.io.InputStream;
   
   /**
  - * Information available at translation-time on a Tag Library.
  - * This class is instantiated from the Tag Library Descriptor file (TLD).
  + * Translation-time information associated with a taglib directive, and its
  + * underlying TLD file.
  + *
  + * Most of the information is directly from the TLD, except for
  + * the prefix and the uri values used in the taglib directive
  + *
  + *
    */
   
   abstract public class TagLibraryInfo {
  @@ -83,6 +88,8 @@
   	this.uri    = uri;
       }
   
  +
  +    // ==== methods accessing taglib information =======
   
       /**
        * The value of the uri attribute from the <%@ taglib directive for this library.