Class InheritDocTaglet
- 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.InheritDocTaglet
-
- All Implemented Interfaces:
Taglet
@Deprecated public class InheritDocTaglet extends BaseInlineTaglet
Deprecated.An inline Taglet representing the inheritDoc tag. This tag should only be used with a method. It is used to inherit documentation from overriden and implemented methods.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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINHERIT_DOC_INLINE_TAGDeprecated.The inline tag that would appear in the documentation if the writer wanted documentation to be inherited.-
Fields inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
name
-
-
Constructor Summary
Constructors Constructor Description InheritDocTaglet()Deprecated.Construct a new InheritDocTaglet.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContentgetTagletOutput(Tag tag, TagletWriter tagletWriter)Deprecated.Given theTagrepresentation of this custom tag, return its string representation, which is output to the generated page.booleaninConstructor()Deprecated.Will return false because this inline tag may not appear in Constructors.booleaninField()Deprecated.Will return false because this inline tag may not appear in Fields.booleaninOverview()Deprecated.Will return false because this inline tag may not appear in Overview.booleaninPackage()Deprecated.Will return false because this inline tag may not appear in Packages.booleaninType()Deprecated.Will return true because this inline tag may appear in Type (Class).private ContentretrieveInheritedDocumentation(TagletWriter writer, ProgramElementDoc ped, Tag holderTag, boolean isFirstSentence)Deprecated.Given aMethodDocitem, aTagin theMethodDocitem and a String, replace all occurrences of @inheritDoc with documentation from it's superclass or superinterface.-
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, inMethod
-
-
-
-
Field Detail
-
INHERIT_DOC_INLINE_TAG
public static final java.lang.String INHERIT_DOC_INLINE_TAG
Deprecated.The inline tag that would appear in the documentation if the writer wanted documentation to be inherited.- See Also:
- Constant Field Values
-
-
Method Detail
-
inField
public boolean inField()
Deprecated.Will return false because this inline tag may not appear in Fields.- Specified by:
inFieldin interfaceTaglet- Overrides:
inFieldin classBaseTaglet- Returns:
- false
-
inConstructor
public boolean inConstructor()
Deprecated.Will return false because this inline tag may not appear in Constructors.- Specified by:
inConstructorin interfaceTaglet- Overrides:
inConstructorin classBaseTaglet- Returns:
- false
-
inOverview
public boolean inOverview()
Deprecated.Will return false because this inline tag may not appear in Overview.- Specified by:
inOverviewin interfaceTaglet- Overrides:
inOverviewin classBaseTaglet- Returns:
- false
-
inPackage
public boolean inPackage()
Deprecated.Will return false because this inline tag may not appear in Packages.- Specified by:
inPackagein interfaceTaglet- Overrides:
inPackagein classBaseTaglet- Returns:
- false
-
inType
public boolean inType()
Deprecated.Will return true because this inline tag may appear in Type (Class).- Specified by:
inTypein interfaceTaglet- Overrides:
inTypein classBaseTaglet- Returns:
- true
-
retrieveInheritedDocumentation
private Content retrieveInheritedDocumentation(TagletWriter writer, ProgramElementDoc ped, Tag holderTag, boolean isFirstSentence)
Deprecated.Given aMethodDocitem, aTagin theMethodDocitem and a String, replace all occurrences of @inheritDoc with documentation from it's superclass or superinterface.- Parameters:
writer- the writer that is writing the output.ped- theProgramElementDocthat we are documenting.holderTag- the tag that holds the inheritDoc tag or null for type (class) docs.isFirstSentence- true if we only want to inherit the first sentence.
-
getTagletOutput
public Content getTagletOutput(Tag tag, TagletWriter tagletWriter)
Deprecated.Given theTagrepresentation of this custom tag, return its string representation, which is output to the generated page.- Specified by:
getTagletOutputin interfaceTaglet- Overrides:
getTagletOutputin classBaseTaglet- Parameters:
tag- theTagrepresentation of this custom tag.tagletWriter- the taglet writer for output.- Returns:
- the Content representation of this
Tag.
-
-