< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java

Print this page




 219                 "images/ui-bg_glass_75_dadada_1x400.png",
 220                 "images/ui-bg_highlight-soft_75_cccccc_1x100.png",
 221                 "images/ui-icons_888888_256x240.png",
 222                 "images/ui-icons_2e83ff_256x240.png",
 223                 "images/ui-icons_cd0a0a_256x240.png",
 224                 "images/ui-bg_glass_55_fbf9ee_1x400.png",
 225                 "images/ui-icons_222222_256x240.png",
 226                 "images/ui-bg_glass_75_e6e6e6_1x400.png");
 227         DocFile f;
 228         for (String file : files) {
 229             DocPath filePath = DocPaths.JQUERY_FILES.resolve(file);
 230             f = DocFile.createFileForOutput(configuration, filePath);
 231             f.copyResource(DOCLET_RESOURCES.resolve(filePath), true, false);
 232         }
 233     }
 234 
 235     /**
 236      * {@inheritDoc}
 237      */
 238     @Override // defined by AbstractDoclet
 239     protected void generateClassFiles(SortedSet<TypeElement> arr, ClassTree classtree)
 240             throws DocletException {
 241         List<TypeElement> list = new ArrayList<>(arr);
 242         for (TypeElement klass : list) {
 243             if (utils.hasHiddenTag(klass) ||
 244                     !(configuration.isGeneratedDoc(klass) && utils.isIncluded(klass))) {
 245                 continue;
 246             }
 247             if (utils.isAnnotationType(klass)) {
 248                 AbstractBuilder annotationTypeBuilder =
 249                     configuration.getBuilderFactory()
 250                         .getAnnotationTypeBuilder(klass);
 251                 annotationTypeBuilder.build();
 252             } else {
 253                 AbstractBuilder classBuilder =
 254                     configuration.getBuilderFactory().getClassBuilder(klass, classtree);
 255                 classBuilder.build();
 256             }
 257         }
 258     }
 259 
 260     /**
 261      * {@inheritDoc}
 262      */
 263     @Override // defined by AbstractDoclet
 264     protected void generateModuleFiles() throws DocletException {
 265         if (configuration.showModules) {
 266             List<ModuleElement> mdles = new ArrayList<>(configuration.modulePackages.keySet());
 267             for (ModuleElement mdle : mdles) {
 268                 AbstractBuilder moduleSummaryBuilder =
 269                         configuration.getBuilderFactory().getModuleSummaryBuilder(mdle);
 270                 moduleSummaryBuilder.build();
 271             }
 272         }
 273     }
 274 




 219                 "images/ui-bg_glass_75_dadada_1x400.png",
 220                 "images/ui-bg_highlight-soft_75_cccccc_1x100.png",
 221                 "images/ui-icons_888888_256x240.png",
 222                 "images/ui-icons_2e83ff_256x240.png",
 223                 "images/ui-icons_cd0a0a_256x240.png",
 224                 "images/ui-bg_glass_55_fbf9ee_1x400.png",
 225                 "images/ui-icons_222222_256x240.png",
 226                 "images/ui-bg_glass_75_e6e6e6_1x400.png");
 227         DocFile f;
 228         for (String file : files) {
 229             DocPath filePath = DocPaths.JQUERY_FILES.resolve(file);
 230             f = DocFile.createFileForOutput(configuration, filePath);
 231             f.copyResource(DOCLET_RESOURCES.resolve(filePath), true, false);
 232         }
 233     }
 234 
 235     /**
 236      * {@inheritDoc}
 237      */
 238     @Override // defined by AbstractDoclet
 239     protected void generateClassFiles(SortedSet<TypeElement> typeElems, ClassTree classTree)
 240             throws DocletException {
 241         for (TypeElement te : typeElems) {
 242             if (utils.hasHiddenTag(te) ||
 243                     !(configuration.isGeneratedDoc(te) && utils.isIncluded(te))) {

 244                 continue;
 245             }
 246             if (utils.isAnnotationType(te)) {
 247                 AbstractBuilder annotationTypeBuilder =
 248                     configuration.getBuilderFactory()
 249                         .getAnnotationTypeBuilder(te);
 250                 annotationTypeBuilder.build();
 251             } else {
 252                 AbstractBuilder classBuilder =
 253                     configuration.getBuilderFactory().getClassBuilder(te, classTree);
 254                 classBuilder.build();
 255             }
 256         }
 257     }
 258 
 259     /**
 260      * {@inheritDoc}
 261      */
 262     @Override // defined by AbstractDoclet
 263     protected void generateModuleFiles() throws DocletException {
 264         if (configuration.showModules) {
 265             List<ModuleElement> mdles = new ArrayList<>(configuration.modulePackages.keySet());
 266             for (ModuleElement mdle : mdles) {
 267                 AbstractBuilder moduleSummaryBuilder =
 268                         configuration.getBuilderFactory().getModuleSummaryBuilder(mdle);
 269                 moduleSummaryBuilder.build();
 270             }
 271         }
 272     }
 273 


< prev index next >