langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/ModuleSummaryBuilder.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
129 * @param node the XML element that specifies which components to document |
129 * @param node the XML element that specifies which components to document |
130 * @param contentTree the content tree to which the documentation will be added |
130 * @param contentTree the content tree to which the documentation will be added |
131 * @throws DocletException if there is a problem while building the documentation |
131 * @throws DocletException if there is a problem while building the documentation |
132 */ |
132 */ |
133 public void buildModuleDoc(XMLNode node, Content contentTree) throws DocletException { |
133 public void buildModuleDoc(XMLNode node, Content contentTree) throws DocletException { |
134 contentTree = moduleWriter.getModuleHeader(mdle.getSimpleName().toString()); |
134 contentTree = moduleWriter.getModuleHeader(mdle.getQualifiedName().toString()); |
135 buildChildren(node, contentTree); |
135 buildChildren(node, contentTree); |
136 moduleWriter.addModuleFooter(contentTree); |
136 moduleWriter.addModuleFooter(contentTree); |
137 moduleWriter.printDocument(contentTree); |
137 moduleWriter.printDocument(contentTree); |
138 utils.copyDirectory(mdle, DocPaths.moduleSummary(mdle)); |
138 utils.copyDirectory(mdle, DocPaths.moduleSummary(mdle)); |
139 } |
139 } |