Class ThrowsTaglet
java.lang.Object
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseExecutableMemberTaglet
gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.ThrowsTaglet
- All Implemented Interfaces:
InheritableTaglet,Taglet
@Deprecated
public class ThrowsTaglet
extends BaseExecutableMemberTaglet
implements InheritableTaglet
Deprecated.
A taglet that represents the @throws 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.
- Since:
- 1.4
-
Field Summary
Fields inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTagletOutput(Doc holder, TagletWriter writer) Deprecated.Given aDocobject, check if it holds any tags of this type.voidinherit(DocFinder.Input input, DocFinder.Output output) Deprecated.Given anDocFinder.Outputobject, set its values with the appropriate information to inherit documentation.private ContentinheritThrowsDocumentation(Doc holder, Type[] declaredExceptionTypes, Set<String> alreadyDocumented, TagletWriter writer) Deprecated.Inherit throws documentation for exceptions that were declared but not documented.private ContentlinkToUndocumentedDeclaredExceptions(Type[] declaredExceptionTypes, Set<String> alreadyDocumented, TagletWriter writer) Deprecated.Add links for exceptions that are declared but not documented.protected ContentthrowsTagsOutput(ThrowsTag[] throwTags, TagletWriter writer, Set<String> alreadyDocumented, boolean allowDups) Deprecated.Given an array ofTags representing this custom tag, return its string representation.Methods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseExecutableMemberTaglet
inField, inOverview, inPackage, inType, isInlineTagMethods inherited from class gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.BaseTaglet
getName, getTagletOutput, inConstructor, inMethodMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gw.gosudoc.com.sun.tools.doclets.internal.toolkit.taglets.Taglet
getName, getTagletOutput, inConstructor, inField, inMethod, inOverview, inPackage, inType, isInlineTag, toString
-
Constructor Details
-
ThrowsTaglet
public ThrowsTaglet()Deprecated.
-
-
Method Details
-
inherit
Deprecated.Given 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.
-
linkToUndocumentedDeclaredExceptions
private Content linkToUndocumentedDeclaredExceptions(Type[] declaredExceptionTypes, Set<String> alreadyDocumented, TagletWriter writer) Deprecated.Add links for exceptions that are declared but not documented. -
inheritThrowsDocumentation
private Content inheritThrowsDocumentation(Doc holder, Type[] declaredExceptionTypes, Set<String> alreadyDocumented, TagletWriter writer) Deprecated.Inherit throws documentation for exceptions that were declared but not documented. -
getTagletOutput
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.
-
throwsTagsOutput
protected Content throwsTagsOutput(ThrowsTag[] throwTags, TagletWriter writer, Set<String> alreadyDocumented, boolean allowDups) Deprecated.Given an array ofTags representing this custom tag, return its string representation.- Parameters:
throwTags- the array ofThrowsTags to convert.writer- the TagletWriter that will write this tag.alreadyDocumented- the set of exceptions that have already been documented.allowDups- True if we allow duplicate throws tags to be documented.- Returns:
- the Content representation of this
Tag.
-