public class ShouldTaglet
extends java.lang.Object
implements com.sun.tools.doclets.Taglet
| Constructor and Description | 
|---|
ShouldTaglet()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getName()
Return the name of this custom tag. 
 | 
boolean | 
inConstructor()
Will return true since  
 @should can be used in constructor documentation. | 
boolean | 
inField()
Will return false since  
 @should cannot be used in field documentation. | 
boolean | 
inMethod()
Will return true since  
 @should can be used in method documentation. | 
boolean | 
inOverview()
Will return true since  
 @should can be used in method documentation. | 
boolean | 
inPackage()
Will return false since  
 @should cannot be used in package documentation. | 
boolean | 
inType()
Will return true since  
 @should can be used in type documentation (classes or
 interfaces). | 
boolean | 
isInlineTag()
Will return false since  
 @should is not an inline tag. | 
static void | 
register(java.util.Map tagletMap)
Register this Taglet. 
 | 
java.lang.String | 
toString(com.sun.javadoc.Tag tag)
Given the  
Tag representation of this custom tag, return its string
 representation. | 
java.lang.String | 
toString(com.sun.javadoc.Tag[] tags)
Given an array of  
Tags representing this custom tag, return its string
 representation. | 
public java.lang.String getName()
getName in interface com.sun.tools.doclets.Tagletpublic boolean inField()
 @should cannot be used in field documentation.inField in interface com.sun.tools.doclets.Taglet @should can be used in field documentation and true
         otherwise.public boolean inConstructor()
 @should can be used in constructor documentation.inConstructor in interface com.sun.tools.doclets.Taglet @should can be used in constructor documentation and false
         otherwise.public boolean inMethod()
 @should can be used in method documentation.inMethod in interface com.sun.tools.doclets.Taglet @should can be used in method documentation and false
         otherwise.public boolean inOverview()
 @should can be used in method documentation.inOverview in interface com.sun.tools.doclets.Taglet @should can be used in overview documentation and false
         otherwise.public boolean inPackage()
 @should cannot be used in package documentation.inPackage in interface com.sun.tools.doclets.Taglet @should cannot be used in package documentation and true
         otherwise.public boolean inType()
 @should can be used in type documentation (classes or
 interfaces).inType in interface com.sun.tools.doclets.Taglet @should can be used in type documentation and false
         otherwise.public boolean isInlineTag()
 @should is not an inline tag.isInlineTag in interface com.sun.tools.doclets.Taglet @should is not an inline tag.public static void register(java.util.Map tagletMap)
tagletMap - the map to register this tag to.public java.lang.String toString(com.sun.javadoc.Tag tag)
Tag representation of this custom tag, return its string
 representation.toString in interface com.sun.tools.doclets.Taglettag - the Tag representation of this custom tag.public java.lang.String toString(com.sun.javadoc.Tag[] tags)
Tags representing this custom tag, return its string
 representation.toString in interface com.sun.tools.doclets.Taglettags - the array of Tags representing of this custom tag.Copyright © 2018 OpenMRS Inc.. All Rights Reserved.