|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdoc.doclets.RatingTaglet
public class RatingTaglet
A taglet that deals with Ptolemy code rating tags. This class was based on Sun's example taglets.
| Red (neuendor) |
| Red (neuendor) |
| Field Summary | |
|---|---|
private java.lang.String |
_name
|
private java.lang.String |
_tagName
|
| Constructor Summary | |
|---|---|
RatingTaglet(java.lang.String name,
java.lang.String tagName)
Create a new RatingTaglet that deals with tags of the given name that has the given tagName as a string. |
|
| Method Summary | |
|---|---|
private static void |
_register(java.util.Map tagletMap,
com.sun.tools.doclets.Taglet taglet)
|
java.lang.String |
getName()
Return the name of this custom tag. |
boolean |
inConstructor()
Return true if the tag can annotate a constructor. |
boolean |
inField()
Return true if the tag can annotate a field. |
boolean |
inMethod()
Return true if the tag can annotate a method. |
boolean |
inOverview()
Return true if the tag can annotate a class. |
boolean |
inPackage()
Return true if the tag can annotate a package. |
boolean |
inType()
Return true if the tag can annotate a class or interface. |
boolean |
isInlineTag()
Return true if the tag is 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String _name
private java.lang.String _tagName
| Constructor Detail |
|---|
public RatingTaglet(java.lang.String name,
java.lang.String tagName)
name - The name of the taglet.tagName - The tagName.| Method Detail |
|---|
public java.lang.String getName()
getName in interface com.sun.tools.doclets.Tagletpublic boolean inField()
inField in interface com.sun.tools.doclets.Tagletpublic boolean inConstructor()
inConstructor in interface com.sun.tools.doclets.Tagletpublic boolean inMethod()
inMethod in interface com.sun.tools.doclets.Tagletpublic boolean inOverview()
inOverview in interface com.sun.tools.doclets.Tagletpublic boolean inPackage()
inPackage in interface com.sun.tools.doclets.Tagletpublic boolean inType()
inType in interface com.sun.tools.doclets.Tagletpublic boolean isInlineTag()
isInlineTag in interface com.sun.tools.doclets.Tagletpublic 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.
private static void _register(java.util.Map tagletMap,
com.sun.tools.doclets.Taglet taglet)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||