Class BaseTaglet
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
-
- All Implemented Interfaces:
Taglet
- Direct Known Subclasses:
BaseExecutableMemberTaglet,BaseInlineTaglet,BasePropertyTaglet,DeprecatedTaglet,ParamTaglet,SeeTaglet,SimpleTaglet
@Deprecated public abstract class BaseTaglet extends Object implements Taglet
Deprecated.An abstract class for that implements theTagletinterface.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
-
-
Constructor Summary
Constructors Constructor Description BaseTaglet()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetName()Deprecated.Return the name of this custom tag.ContentgetTagletOutput(Doc holder, TagletWriter writer)Deprecated.Given aDocobject, check if it holds any tags of this type.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.Return true if thisTagletis used in constructor documentation.booleaninField()Deprecated.Return true if thisTagletis used in field documentation.booleaninMethod()Deprecated.Return true if thisTagletis used in method documentation.booleaninOverview()Deprecated.Return true if thisTagletis used in overview documentation.booleaninPackage()Deprecated.Return true if thisTagletis used in package documentation.booleaninType()Deprecated.Return true if thisTagletis used in type documentation (classes or interfaces).booleanisInlineTag()Deprecated.Return true if thisTagletis an inline tag.
-
-
-
Field Detail
-
name
protected String name
Deprecated.
-
-
Method Detail
-
inConstructor
public boolean inConstructor()
Deprecated.Return true if thisTagletis used in constructor documentation.- Specified by:
inConstructorin interfaceTaglet- Returns:
- true if this
Tagletis used in constructor documentation and false otherwise.
-
inField
public boolean inField()
Deprecated.Return true if thisTagletis used in field documentation.
-
inMethod
public boolean inMethod()
Deprecated.Return true if thisTagletis used in method documentation.
-
inOverview
public boolean inOverview()
Deprecated.Return true if thisTagletis used in overview documentation.- Specified by:
inOverviewin interfaceTaglet- Returns:
- true if this
Tagletis used in method documentation and false otherwise.
-
inPackage
public boolean inPackage()
Deprecated.Return true if thisTagletis used in package documentation.
-
inType
public boolean inType()
Deprecated.Return true if thisTagletis used in type documentation (classes or interfaces).
-
isInlineTag
public boolean isInlineTag()
Deprecated.Return true if thisTagletis an inline tag.- Specified by:
isInlineTagin interfaceTaglet- Returns:
- true if this
Tagletis an inline tag and false otherwise.
-
getName
public String getName()
Deprecated.Return the name of this custom tag.
-
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- Parameters:
tag- theTagrepresentation of this custom tag.writer- aTagletWriterTaglet writer.- Returns:
- the Content representation of this
Tag. - Throws:
IllegalArgumentException- thrown when the method is not supported by the taglet.
-
getTagletOutput
public Content getTagletOutput(Doc holder, TagletWriter writer)
Deprecated.Given aDocobject, check if it holds any tags of this type. If it does, return the string representing the output. If it does not, return null.- Specified by:
getTagletOutputin interfaceTaglet- Parameters:
holder- aDocobject holding the custom tag.writer- aTagletWriterTaglet writer.- Returns:
- the TagletOutput representation of this
Tag. - Throws:
IllegalArgumentException- thrown when the method is not supported by the taglet.
-
-