src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java

changeset 2035
a2a5ad0853ed
parent 1648
a03c4a86ea2b
child 2525
2eb010b6cb22
equal deleted inserted replaced
2034:ac6ec071c2b2 2035:a2a5ad0853ed
221 */ 221 */
222 public void buildAnnotationTypeMemberDetails(XMLNode node, Content annotationContentTree) { 222 public void buildAnnotationTypeMemberDetails(XMLNode node, Content annotationContentTree) {
223 Content memberDetailsTree = writer.getMemberTreeHeader(); 223 Content memberDetailsTree = writer.getMemberTreeHeader();
224 buildChildren(node, memberDetailsTree); 224 buildChildren(node, memberDetailsTree);
225 if (memberDetailsTree.isValid()) { 225 if (memberDetailsTree.isValid()) {
226 Content memberDetails = writer.getMemberTreeHeader(); 226 annotationContentTree.addContent(writer.getMemberDetailsTree(memberDetailsTree));
227 writer.addAnnotationDetailsMarker(memberDetails);
228 memberDetails.addContent(writer.getMemberTree(memberDetailsTree));
229 annotationContentTree.addContent(writer.getMemberDetailsTree(memberDetails));
230 } 227 }
231 } 228 }
232 229
233 /** 230 /**
231 * Build the annotation type field documentation.
232 *
233 * @param node the XML element that specifies which components to document
234 * @param memberDetailsTree the content tree to which the documentation will be added
235 */
236 public void buildAnnotationTypeFieldDetails(XMLNode node, Content memberDetailsTree)
237 throws Exception {
238 configuration.getBuilderFactory().
239 getAnnotationTypeFieldsBuilder(writer).buildChildren(node, memberDetailsTree);
240 }
241
242 /**
234 * Build the annotation type optional member documentation. 243 * Build the annotation type optional member documentation.
235 * 244 *
236 * @param node the XML element that specifies which components to document 245 * @param node the XML element that specifies which components to document
237 * @param memberDetailsTree the content tree to which the documentation will be added 246 * @param memberDetailsTree the content tree to which the documentation will be added
238 */ 247 */

mercurial