26 package com.sun.tools.doclets.internal.toolkit.taglets; |
26 package com.sun.tools.doclets.internal.toolkit.taglets; |
27 |
27 |
28 import java.util.*; |
28 import java.util.*; |
29 |
29 |
30 import com.sun.javadoc.*; |
30 import com.sun.javadoc.*; |
31 import com.sun.tools.doclets.formats.html.markup.StringContent; |
|
32 import com.sun.tools.doclets.internal.toolkit.Configuration; |
31 import com.sun.tools.doclets.internal.toolkit.Configuration; |
|
32 import com.sun.tools.doclets.internal.toolkit.Content; |
33 import com.sun.tools.doclets.internal.toolkit.util.*; |
33 import com.sun.tools.doclets.internal.toolkit.util.*; |
34 |
34 |
35 /** |
35 /** |
36 * An inline Taglet representing the value tag. This tag should only be used with |
36 * An inline Taglet representing the value tag. This tag should only be used with |
37 * constant fields that have a value. It is used to access the value of constant |
37 * constant fields that have a value. It is used to access the value of constant |
159 } |
159 } |
160 |
160 |
161 /** |
161 /** |
162 * {@inheritDoc} |
162 * {@inheritDoc} |
163 */ |
163 */ |
164 public TagletOutput getTagletOutput(Tag tag, TagletWriter writer) { |
164 public Content getTagletOutput(Tag tag, TagletWriter writer) { |
165 FieldDoc field = getFieldDoc( |
165 FieldDoc field = getFieldDoc( |
166 writer.configuration(), tag, tag.text()); |
166 writer.configuration(), tag, tag.text()); |
167 if (field == null) { |
167 if (field == null) { |
168 //Reference is unknown. |
168 //Reference is unknown. |
169 writer.getMsgRetriever().warning(tag.holder().position(), |
169 writer.getMsgRetriever().warning(tag.holder().position(), |