Class ValueTaglet
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseInlineTaglet
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.ValueTaglet
-
- All Implemented Interfaces:
Taglet
@Deprecated public class ValueTaglet extends BaseInlineTaglet
Deprecated.An inline Taglet representing the value tag. This tag should only be used with constant fields that have a value. It is used to access the value of constant fields. This inline tag has an optional field name parameter. If the name is specified, the constant value is retrieved from the specified field. A link is also created to the specified field. If a name is not specified, the value is retrieved for the field that the inline tag appears on. The name is specifed in the following format: [fully qualified class name]#[constant field name].This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
- Since:
- 1.4
- Author:
- Jamie Ho
-
-
Field Summary
-
Fields inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
name
-
-
Constructor Summary
Constructors Constructor Description ValueTaglet()Deprecated.Construct a new ValueTaglet.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContentgetTagletOutput(Tag tag, TagletWriter writer)Deprecated.Given theTagrepresentation of this custom tag, return its Content representation, which is output to the generated page.booleaninConstructor()Deprecated.Will return false because this inline tag may only appear in Fields.booleaninMethod()Deprecated.Will return false because this inline tag may only appear in Fields.booleaninOverview()Deprecated.Will return false because this inline tag may only appear in Fields.booleaninPackage()Deprecated.Will return false because this inline tag may only appear in Fields.booleaninType()Deprecated.Will return false because this inline tag may only appear in Fields.-
Methods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseInlineTaglet
isInlineTag
-
Methods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
getName, getTagletOutput, inField
-
-
-
-
Method Detail
-
inMethod
public boolean inMethod()
Deprecated.Will return false because this inline tag may only appear in Fields.- Specified by:
inMethodin interfaceTaglet- Overrides:
inMethodin classBaseTaglet- Returns:
- false since this is not a method.
-
inConstructor
public boolean inConstructor()
Deprecated.Will return false because this inline tag may only appear in Fields.- Specified by:
inConstructorin interfaceTaglet- Overrides:
inConstructorin classBaseTaglet- Returns:
- false since this is not a method.
-
inOverview
public boolean inOverview()
Deprecated.Will return false because this inline tag may only appear in Fields.- Specified by:
inOverviewin interfaceTaglet- Overrides:
inOverviewin classBaseTaglet- Returns:
- false since this is not a method.
-
inPackage
public boolean inPackage()
Deprecated.Will return false because this inline tag may only appear in Fields.- Specified by:
inPackagein interfaceTaglet- Overrides:
inPackagein classBaseTaglet- Returns:
- false since this is not a method.
-
inType
public boolean inType()
Deprecated.Will return false because this inline tag may only appear in Fields.- Specified by:
inTypein interfaceTaglet- Overrides:
inTypein classBaseTaglet- Returns:
- false since this is not a method.
-
getTagletOutput
public Content getTagletOutput(Tag tag, TagletWriter writer)
Deprecated.Given theTagrepresentation of this custom tag, return its Content representation, which is output to the generated page.- Specified by:
getTagletOutputin interfaceTaglet- Overrides:
getTagletOutputin classBaseTaglet- Parameters:
tag- theTagrepresentation of this custom tag.writer- aTagletWriterTaglet writer.- Returns:
- the Content representation of this
Tag.
-
-