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.
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.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 -
Method Summary
Modifier and TypeMethodDescriptiongetTagletOutput(Tag tag, TagletWriter tagletWriter) Deprecated.Given theTagrepresentation of this custom tag, return its string representation, which is output to the generated page.booleanDeprecated.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.booleanDeprecated.Will return false because this inline tag may not appear in Overview.booleanDeprecated.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
isInlineTagMethods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
getName, getTagletOutput, inMethod
-
Field Details
-
INHERIT_DOC_INLINE_TAG
Deprecated.The inline tag that would appear in the documentation if the writer wanted documentation to be inherited.- See Also:
-
-
Constructor Details
-
InheritDocTaglet
public InheritDocTaglet()Deprecated.Construct a new InheritDocTaglet.
-
-
Method Details
-
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
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.
-