src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/LegacyTaglet.java

changeset 1996
7a2fe98cb0e6
parent 1751
ca8808c88f94
child 2525
2eb010b6cb22
equal deleted inserted replaced
1995:dd64288f5659 1996:7a2fe98cb0e6
128 * {@inheritDoc} 128 * {@inheritDoc}
129 */ 129 */
130 public Content getTagletOutput(Doc holder, TagletWriter writer) 130 public Content getTagletOutput(Doc holder, TagletWriter writer)
131 throws IllegalArgumentException { 131 throws IllegalArgumentException {
132 Content output = writer.getOutputInstance(); 132 Content output = writer.getOutputInstance();
133 output.addContent(new RawHtml(legacyTaglet.toString(holder.tags(getName())))); 133 Tag[] tags = holder.tags(getName());
134 if (tags.length > 0) {
135 String tagString = legacyTaglet.toString(tags);
136 if (tagString != null) {
137 output.addContent(new RawHtml(tagString));
138 }
139 }
134 return output; 140 return output;
135 } 141 }
136 } 142 }

mercurial