예제 #1
0
 /**
  * Build the field documentation.
  *
  * @param node the XML element that specifies which components to document
  * @param memberDetailsTree the content tree to which the documentation will be added
  */
 public void buildFieldDoc(XMLNode node, Content memberDetailsTree) {
   if (writer == null) {
     return;
   }
   int size = fields.size();
   if (size > 0) {
     Content fieldDetailsTree = writer.getFieldDetailsTreeHeader(classDoc, memberDetailsTree);
     for (currentFieldIndex = 0; currentFieldIndex < size; currentFieldIndex++) {
       Content fieldDocTree =
           writer.getFieldDocTreeHeader(
               (FieldDoc) fields.get(currentFieldIndex), fieldDetailsTree);
       buildChildren(node, fieldDocTree);
       fieldDetailsTree.addContent(
           writer.getFieldDoc(fieldDocTree, (currentFieldIndex == size - 1)));
     }
     memberDetailsTree.addContent(writer.getFieldDetails(fieldDetailsTree));
   }
 }
예제 #2
0
 /** Build the overall footer. */
 public void buildFooter() {
   writer.writeFooter(classDoc);
 }
예제 #3
0
 /** Build the footer for the individual field. */
 public void buildFieldFooter() {
   writer.writeFieldFooter();
 }
예제 #4
0
 /** Build the tag information. */
 public void buildTagInfo() {
   writer.writeTags((FieldDoc) fields.get(currentFieldIndex));
 }
예제 #5
0
 /**
  * Build the comments for the field. Do nothing if {@link Configuration#nocomment} is set to true.
  */
 public void buildFieldComments() {
   if (!configuration.nocomment) {
     writer.writeComments((FieldDoc) fields.get(currentFieldIndex));
   }
 }
예제 #6
0
 /** Build the deprecation information. */
 public void buildDeprecationInfo() {
   writer.writeDeprecated((FieldDoc) fields.get(currentFieldIndex));
 }
예제 #7
0
 /** Build the signature. */
 public void buildSignature() {
   writer.writeSignature((FieldDoc) fields.get(currentFieldIndex));
 }
예제 #8
0
 /** Build the header for the individual field. */
 public void buildFieldHeader() {
   writer.writeFieldHeader((FieldDoc) fields.get(currentFieldIndex), currentFieldIndex == 0);
 }
예제 #9
0
 /** Build the overall header. */
 public void buildHeader() {
   writer.writeHeader(classDoc, configuration.getText("doclet.Field_Detail"));
 }
예제 #10
0
 /**
  * Build the tag information.
  *
  * @param node the XML element that specifies which components to document
  * @param fieldDocTree the content tree to which the documentation will be added
  */
 public void buildTagInfo(XMLNode node, Content fieldDocTree) {
   writer.addTags((FieldDoc) fields.get(currentFieldIndex), fieldDocTree);
 }
예제 #11
0
 /**
  * Build the comments for the field. Do nothing if {@link Configuration#nocomment} is set to true.
  *
  * @param node the XML element that specifies which components to document
  * @param fieldDocTree the content tree to which the documentation will be added
  */
 public void buildFieldComments(XMLNode node, Content fieldDocTree) {
   if (!configuration.nocomment) {
     writer.addComments((FieldDoc) fields.get(currentFieldIndex), fieldDocTree);
   }
 }
예제 #12
0
 /**
  * Build the deprecation information.
  *
  * @param node the XML element that specifies which components to document
  * @param fieldDocTree the content tree to which the documentation will be added
  */
 public void buildDeprecationInfo(XMLNode node, Content fieldDocTree) {
   writer.addDeprecated((FieldDoc) fields.get(currentFieldIndex), fieldDocTree);
 }
예제 #13
0
 /**
  * Build the signature.
  *
  * @param node the XML element that specifies which components to document
  * @param fieldDocTree the content tree to which the documentation will be added
  */
 public void buildSignature(XMLNode node, Content fieldDocTree) {
   fieldDocTree.addContent(writer.getSignature((FieldDoc) fields.get(currentFieldIndex)));
 }