105 106 /** 107 * {@inheritDoc} 108 */ 109 @Override 110 public void build(Content contentTree) throws DocletException { 111 buildPropertyDoc(contentTree); 112 } 113 114 /** 115 * Build the property documentation. 116 * 117 * @param memberDetailsTree the content tree to which the documentation will be added 118 * @throws DocletException if there is a problem while building the documentation 119 */ 120 protected void buildPropertyDoc(Content memberDetailsTree) throws DocletException { 121 if (writer == null) { 122 return; 123 } 124 if (hasMembersToDocument()) { 125 Content propertyDetailsTreeHeader = writer.getPropertyDetailsTreeHeader(typeElement, 126 memberDetailsTree); 127 Content propertyDetailsTree = writer.getMemberTreeHeader(); 128 129 for (Element property : properties) { 130 currentProperty = (ExecutableElement)property; 131 Content propertyDocTree = writer.getPropertyDocTreeHeader(currentProperty, 132 propertyDetailsTree); 133 134 buildSignature(propertyDocTree); 135 buildPropertyComments(propertyDocTree); 136 buildTagInfo(propertyDocTree); 137 138 propertyDetailsTree.add(writer.getPropertyDoc(propertyDocTree)); 139 } 140 memberDetailsTree.add( 141 writer.getPropertyDetails(propertyDetailsTreeHeader, propertyDetailsTree)); 142 } 143 } 144 145 /** 146 * Build the signature. 147 * 148 * @param propertyDocTree the content tree to which the documentation will be added 149 */ 150 protected void buildSignature(Content propertyDocTree) { 151 propertyDocTree.add(writer.getSignature(currentProperty)); 152 } | 105 106 /** 107 * {@inheritDoc} 108 */ 109 @Override 110 public void build(Content contentTree) throws DocletException { 111 buildPropertyDoc(contentTree); 112 } 113 114 /** 115 * Build the property documentation. 116 * 117 * @param memberDetailsTree the content tree to which the documentation will be added 118 * @throws DocletException if there is a problem while building the documentation 119 */ 120 protected void buildPropertyDoc(Content memberDetailsTree) throws DocletException { 121 if (writer == null) { 122 return; 123 } 124 if (hasMembersToDocument()) { 125 Content propertyDetailsTreeHeader = writer.getPropertyDetailsTreeHeader(memberDetailsTree); 126 Content propertyDetailsTree = writer.getMemberTreeHeader(); 127 128 for (Element property : properties) { 129 currentProperty = (ExecutableElement)property; 130 Content propertyDocTree = writer.getPropertyDocTreeHeader(currentProperty); 131 132 buildSignature(propertyDocTree); 133 buildPropertyComments(propertyDocTree); 134 buildTagInfo(propertyDocTree); 135 136 propertyDetailsTree.add(writer.getPropertyDoc(propertyDocTree)); 137 } 138 memberDetailsTree.add( 139 writer.getPropertyDetails(propertyDetailsTreeHeader, propertyDetailsTree)); 140 } 141 } 142 143 /** 144 * Build the signature. 145 * 146 * @param propertyDocTree the content tree to which the documentation will be added 147 */ 148 protected void buildSignature(Content propertyDocTree) { 149 propertyDocTree.add(writer.getSignature(currentProperty)); 150 } |