langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Configuration.java
changeset 44388 4d0903f1f311
parent 44293 2f47b2c16612
child 44460 9adfc635dd7b
equal deleted inserted replaced
44387:8efb26290858 44388:4d0903f1f311
    72  * @author Robert Field.
    72  * @author Robert Field.
    73  * @author Atul Dambalkar.
    73  * @author Atul Dambalkar.
    74  * @author Jamie Ho
    74  * @author Jamie Ho
    75  */
    75  */
    76 public abstract class Configuration {
    76 public abstract class Configuration {
       
    77     /**
       
    78      * The doclet that created this configuration.
       
    79      */
       
    80     public final Doclet doclet;
    77 
    81 
    78     /**
    82     /**
    79      * The factory for builders.
    83      * The factory for builders.
    80      */
    84      */
    81     protected BuilderFactory builderFactory;
    85     protected BuilderFactory builderFactory;
   340 
   344 
   341     protected static final String sharedResourceBundleName =
   345     protected static final String sharedResourceBundleName =
   342             "jdk.javadoc.internal.doclets.toolkit.resources.doclets";
   346             "jdk.javadoc.internal.doclets.toolkit.resources.doclets";
   343     /**
   347     /**
   344      * Constructs the configurations needed by the doclet.
   348      * Constructs the configurations needed by the doclet.
   345      */
   349      * @param doclet the doclet that created this configuration
   346     public Configuration() {
   350      */
       
   351     public Configuration(Doclet doclet) {
       
   352         this.doclet = doclet;
   347         excludedDocFileDirs = new HashSet<>();
   353         excludedDocFileDirs = new HashSet<>();
   348         excludedQualifiers = new HashSet<>();
   354         excludedQualifiers = new HashSet<>();
   349         setTabWidth(DocletConstants.DEFAULT_TAB_STOP_LENGTH);
   355         setTabWidth(DocletConstants.DEFAULT_TAB_STOP_LENGTH);
   350         metakeywords = new MetaKeywords(this);
   356         metakeywords = new MetaKeywords(this);
   351         groups = new ArrayList<>(0);
   357         groups = new ArrayList<>(0);