src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java
changeset 55266 fb250e9cfe67
parent 55197 0ca8e495bbba
child 58679 9c3209ff7550
child 59294 48b88b9c11eb
equal deleted inserted replaced
55265:d80becbcd3c1 55266:fb250e9cfe67
    25 
    25 
    26 package jdk.javadoc.internal.doclets.formats.html;
    26 package jdk.javadoc.internal.doclets.formats.html;
    27 
    27 
    28 import java.util.ArrayList;
    28 import java.util.ArrayList;
    29 import java.util.Collections;
    29 import java.util.Collections;
       
    30 import java.util.HashMap;
    30 import java.util.LinkedList;
    31 import java.util.LinkedList;
    31 import java.util.List;
    32 import java.util.List;
    32 import java.util.ListIterator;
    33 import java.util.ListIterator;
    33 import java.util.Locale;
    34 import java.util.Locale;
    34 import java.util.Map;
    35 import java.util.Map;
   195     protected String winTitle;
   196     protected String winTitle;
   196 
   197 
   197     protected Script mainBodyScript;
   198     protected Script mainBodyScript;
   198 
   199 
   199     /**
   200     /**
       
   201      * A table of the anchors used for at-index and related tags,
       
   202      * so that they can be made unique by appending a suitable suffix.
       
   203      * (Ideally, javadoc should be tracking all id's generated in a file
       
   204      * to avoid generating duplicates.)
       
   205      */
       
   206     Map<String, Integer> indexAnchorTable = new HashMap<>();
       
   207 
       
   208     /**
   200      * Constructor to construct the HtmlStandardWriter object.
   209      * Constructor to construct the HtmlStandardWriter object.
   201      *
   210      *
   202      * @param configuration the configuration for this doclet
   211      * @param configuration the configuration for this doclet
   203      * @param path the file to be generated.
   212      * @param path the file to be generated.
   204      */
   213      */