tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler PageInfo.java
Date Fri, 08 Aug 2003 19:06:41 GMT
luehe       2003/08/08 12:06:41

  Modified:    jasper2/src/share/org/apache/jasper/compiler PageInfo.java
  Log:
  Added javadocs for getExtends methods
  
  Revision  Changes    Path
  1.37      +22 -4     jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java
  
  Index: PageInfo.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/PageInfo.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- PageInfo.java	4 Aug 2003 22:55:44 -0000	1.36
  +++ PageInfo.java	8 Aug 2003 19:06:41 -0000	1.37
  @@ -138,7 +138,7 @@
        * Check if the plugin ID has been previously declared.  Make a not
        * that this Id is now declared.
        * @return true if Id has been declared.
  -    */
  +     */
       public boolean isPluginDeclared(String id) {
   	if (pluginDcls.contains(id))
   	    return true;
  @@ -404,10 +404,28 @@
   	    n.addImport(value);
       }
   
  +    /**
  +     * Gets the value of the 'extends' page directive attribute.
  +     *
  +     * @param useDefault TRUE if the default
  +     * (org.apache.jasper.runtime.HttpJspBase) should be returned if this
  +     * attribute has not been set, FALSE otherwise
  +     *
  +     * @return The value of the 'extends' page directive attribute, or the
  +     * default (org.apache.jasper.runtime.HttpJspBase) if this attribute has
  +     * not been set and useDefault is TRUE
  +     */
       public String getExtends(boolean useDefault) {
   	return (xtends == null && useDefault ? defaultExtends : xtends);
       }
   
  +    /**
  +     * Gets the value of the 'extends' page directive attribute.
  +     *
  +     * @return The value of the 'extends' page directive attribute, or the
  +     * default (org.apache.jasper.runtime.HttpJspBase) if this attribute has
  +     * not been set
  +     */
       public String getExtends() {
   	return getExtends(true);
       }
  
  
  

Mime
View raw message