src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java

changeset 240
8c55d5b0ed71
parent 229
03bcd66bd8e7
parent 233
5240b1120530
child 243
edd944553131
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java	Mon Mar 09 13:34:19 2009 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java	Mon Mar 09 23:53:41 2009 -0700
     1.3 @@ -25,9 +25,10 @@
     1.4  
     1.5  package com.sun.tools.doclets.formats.html.markup;
     1.6  
     1.7 +import java.io.*;
     1.8 +
     1.9  import com.sun.tools.doclets.internal.toolkit.*;
    1.10  import com.sun.tools.doclets.internal.toolkit.util.*;
    1.11 -import java.io.*;
    1.12  
    1.13  /**
    1.14   * Class for the Html format code generation.
    1.15 @@ -61,6 +62,11 @@
    1.16      protected Configuration configuration;
    1.17  
    1.18      /**
    1.19 +     * The flag to indicate whether a member details list is printed or not.
    1.20 +     */
    1.21 +    protected boolean memberDetailsListPrinted;
    1.22 +
    1.23 +    /**
    1.24       * Constructor.
    1.25       *
    1.26       * @param path The directory path to be created for this file
    1.27 @@ -79,6 +85,7 @@
    1.28          super(Util.genWriter(configuration, path, filename, docencoding));
    1.29          this.configuration = configuration;
    1.30          htmlFilename = filename;
    1.31 +        this.memberDetailsListPrinted = false;
    1.32      }
    1.33  
    1.34      /**
    1.35 @@ -529,7 +536,14 @@
    1.36      }
    1.37  
    1.38      /**
    1.39 -     * Print <DT> tag.
    1.40 +     * Print </DT> tag.
    1.41 +     */
    1.42 +    public void dtEnd() {
    1.43 +        print("</DT>");
    1.44 +    }
    1.45 +
    1.46 +    /**
    1.47 +     * Print &lt;DD&gt; tag.
    1.48       */
    1.49      public void dd() {
    1.50          print("<DD>");

mercurial