langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java
changeset 45417 f7479ee8de69
parent 44879 49beafe2faf3
equal deleted inserted replaced
45416:0d8bb33bdfa7 45417:f7479ee8de69
    29 
    29 
    30 import javax.lang.model.element.ModuleElement;
    30 import javax.lang.model.element.ModuleElement;
    31 import javax.lang.model.element.PackageElement;
    31 import javax.lang.model.element.PackageElement;
    32 import javax.lang.model.element.TypeElement;
    32 import javax.lang.model.element.TypeElement;
    33 
    33 
    34 import jdk.javadoc.doclet.Doclet.Option;
       
    35 import jdk.javadoc.doclet.DocletEnvironment;
    34 import jdk.javadoc.doclet.DocletEnvironment;
    36 import jdk.javadoc.doclet.Reporter;
    35 import jdk.javadoc.doclet.Reporter;
    37 import jdk.javadoc.internal.doclets.toolkit.AbstractDoclet;
    36 import jdk.javadoc.internal.doclets.toolkit.AbstractDoclet;
    38 import jdk.javadoc.internal.doclets.toolkit.DocletException;
    37 import jdk.javadoc.internal.doclets.toolkit.DocletException;
    39 import jdk.javadoc.internal.doclets.toolkit.Messages;
    38 import jdk.javadoc.internal.doclets.toolkit.Messages;
    59  *
    58  *
    60  */
    59  */
    61 public class HtmlDoclet extends AbstractDoclet {
    60 public class HtmlDoclet extends AbstractDoclet {
    62 
    61 
    63     public HtmlDoclet() {
    62     public HtmlDoclet() {
    64         configuration = new ConfigurationImpl(this);
    63         configuration = new HtmlConfiguration(this);
    65     }
    64     }
    66 
    65 
    67     @Override // defined by Doclet
    66     @Override // defined by Doclet
    68     public String getName() {
    67     public String getName() {
    69         return "Html";
    68         return "Html";
    70     }
    69     }
    71 
    70 
    72     /**
    71     /**
    73      * The global configuration information for this run.
    72      * The global configuration information for this run.
    74      */
    73      */
    75     private final ConfigurationImpl configuration;
    74     private final HtmlConfiguration configuration;
    76 
    75 
    77     private Messages messages;
    76     private Messages messages;
    78 
    77 
    79 
    78 
    80     private static final DocPath DOCLET_RESOURCES = DocPath
    79     private static final DocPath DOCLET_RESOURCES = DocPath
    93      * configuration.
    92      * configuration.
    94      *
    93      *
    95      * @return the configuration
    94      * @return the configuration
    96      */
    95      */
    97     @Override // defined by AbstractDoclet
    96     @Override // defined by AbstractDoclet
    98     public ConfigurationImpl getConfiguration() {
    97     public HtmlConfiguration getConfiguration() {
    99         return configuration;
    98         return configuration;
   100     }
    99     }
   101 
   100 
   102     /**
   101     /**
   103      * Start the generation of files. Call generate methods in the individual
   102      * Start the generation of files. Call generate methods in the individual