Class SimpleTaglet
- java.lang.Object
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
-
- gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.SimpleTaglet
-
- All Implemented Interfaces:
InheritableTaglet,Taglet
@Deprecated public class SimpleTaglet extends BaseTaglet implements InheritableTaglet
Deprecated.A simple single argument custom tag.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.
- Author:
- Jamie Ho
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLDeprecated.Use in location string when the tag is to appear in all locations.static StringCONSTRUCTORDeprecated.The marker in the location string for constructors.static StringEXCLUDEDDeprecated.The marker in the location string for excluded tags.static StringFIELDDeprecated.The marker in the location string for fields.protected StringheaderDeprecated.The header to output.protected StringlocationsDeprecated.The possible locations that this tag can appear in.static StringMETHODDeprecated.The marker in the location string for methods.static StringOVERVIEWDeprecated.The marker in the location string for overview.static StringPACKAGEDeprecated.The marker in the location string for packages.protected StringtagNameDeprecated.The name of this tag.static StringTYPEDeprecated.The marker in the location string for types.-
Fields inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
name
-
-
Constructor Summary
Constructors Constructor Description SimpleTaglet(String tagName, String header, String locations)Deprecated.Construct aSimpleTaglet.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetName()Deprecated.Return the name of thisTaglet.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 thisSimpleTagletis used in constructor documentation.booleaninField()Deprecated.Return true if thisSimpleTagletis used in field documentation.voidinherit(DocFinder.Input input, DocFinder.Output output)Deprecated.Given anDocFinder.Outputobject, set its values with the appropriate information to inherit documentation.booleaninMethod()Deprecated.Return true if thisSimpleTagletis used in method documentation.booleaninOverview()Deprecated.Return true if thisSimpleTagletis used in overview documentation.booleaninPackage()Deprecated.Return true if thisSimpleTagletis used in package documentation.booleaninType()Deprecated.Return true if thisSimpleTagletis used in type documentation (classes or interfaces).booleanisInlineTag()Deprecated.Return true if thisTagletis an inline tag.
-
-
-
Field Detail
-
EXCLUDED
public static final String EXCLUDED
Deprecated.The marker in the location string for excluded tags.- See Also:
- Constant Field Values
-
PACKAGE
public static final String PACKAGE
Deprecated.The marker in the location string for packages.- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
Deprecated.The marker in the location string for types.- See Also:
- Constant Field Values
-
CONSTRUCTOR
public static final String CONSTRUCTOR
Deprecated.The marker in the location string for constructors.- See Also:
- Constant Field Values
-
FIELD
public static final String FIELD
Deprecated.The marker in the location string for fields.- See Also:
- Constant Field Values
-
METHOD
public static final String METHOD
Deprecated.The marker in the location string for methods.- See Also:
- Constant Field Values
-
OVERVIEW
public static final String OVERVIEW
Deprecated.The marker in the location string for overview.- See Also:
- Constant Field Values
-
ALL
public static final String ALL
Deprecated.Use in location string when the tag is to appear in all locations.- See Also:
- Constant Field Values
-
tagName
protected String tagName
Deprecated.The name of this tag.
-
header
protected String header
Deprecated.The header to output.
-
locations
protected String locations
Deprecated.The possible locations that this tag can appear in.
-
-
Constructor Detail
-
SimpleTaglet
public SimpleTaglet(String tagName, String header, String locations)
Deprecated.Construct aSimpleTaglet.- Parameters:
tagName- the name of this tagheader- the header to output.locations- the possible locations that this tag can appear in. TheStringcan contain 'p' for package, 't' for type, 'm' for method, 'c' for constructor and 'f' for field.
-
-
Method Detail
-
getName
public String getName()
Deprecated.Return the name of thisTaglet.- Specified by:
getNamein interfaceTaglet- Overrides:
getNamein classBaseTaglet- Returns:
- the name of this custom tag.
-
inConstructor
public boolean inConstructor()
Deprecated.Return true if thisSimpleTagletis used in constructor documentation.- Specified by:
inConstructorin interfaceTaglet- Overrides:
inConstructorin classBaseTaglet- Returns:
- true if this
SimpleTagletis used in constructor documentation and false otherwise.
-
inField
public boolean inField()
Deprecated.Return true if thisSimpleTagletis used in field documentation.- Specified by:
inFieldin interfaceTaglet- Overrides:
inFieldin classBaseTaglet- Returns:
- true if this
SimpleTagletis used in field documentation and false otherwise.
-
inMethod
public boolean inMethod()
Deprecated.Return true if thisSimpleTagletis used in method documentation.- Specified by:
inMethodin interfaceTaglet- Overrides:
inMethodin classBaseTaglet- Returns:
- true if this
SimpleTagletis used in method documentation and false otherwise.
-
inOverview
public boolean inOverview()
Deprecated.Return true if thisSimpleTagletis used in overview documentation.- Specified by:
inOverviewin interfaceTaglet- Overrides:
inOverviewin classBaseTaglet- Returns:
- true if this
SimpleTagletis used in overview documentation and false otherwise.
-
inPackage
public boolean inPackage()
Deprecated.Return true if thisSimpleTagletis used in package documentation.- Specified by:
inPackagein interfaceTaglet- Overrides:
inPackagein classBaseTaglet- Returns:
- true if this
SimpleTagletis used in package documentation and false otherwise.
-
inType
public boolean inType()
Deprecated.Return true if thisSimpleTagletis used in type documentation (classes or interfaces).- Specified by:
inTypein interfaceTaglet- Overrides:
inTypein classBaseTaglet- Returns:
- true if this
SimpleTagletis used in type documentation and false otherwise.
-
isInlineTag
public boolean isInlineTag()
Deprecated.Return true if thisTagletis an inline tag.- Specified by:
isInlineTagin interfaceTaglet- Overrides:
isInlineTagin classBaseTaglet- Returns:
- true if this
Tagletis an inline tag and false otherwise.
-
inherit
public void inherit(DocFinder.Input input, DocFinder.Output output)
Deprecated.Description copied from interface:InheritableTagletGiven anDocFinder.Outputobject, set its values with the appropriate information to inherit documentation.- Specified by:
inheritin interfaceInheritableTaglet- Parameters:
input- the input for documentation search.output- the output for documentation search.
-
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.
-
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- Overrides:
getTagletOutputin classBaseTaglet- Parameters:
holder- aDocobject holding the custom tag.writer- aTagletWriterTaglet writer.- Returns:
- the TagletOutput representation of this
Tag.
-
-