|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.tools.doclet.TagletManager
Manages theTaglet
s used by doclets.
Field Summary | |
static String |
ALT_SIMPLE_TAGLET_OPT_SEPERATOR
The alternate seperator for simple tag options. |
static String |
SIMPLE_TAGLET_OPT_SEPERATOR
The default seperator for the simple tag option. |
Constructor Summary | |
TagletManager(boolean nosince,
boolean showversion,
boolean showauthor,
com.sun.tools.doclets.MessageRetriever message)
Construct a new TagletManager . |
Method Summary | |
void |
addCustomTag(String classname,
String tagletPath)
Add a new Taglet . |
void |
addCustomTag(com.sun.tools.doclets.Taglet customTag)
Add a new CustomTag . |
void |
addNewSimpleCustomTag(String tagName,
String header,
String locations)
Add a new SimpleTaglet . |
void |
checkTags(com.sun.javadoc.Doc doc,
com.sun.javadoc.Tag[] tags,
boolean areInlineTags)
Given an array of Tag s, check for spelling mistakes. |
com.sun.tools.doclets.Taglet[] |
getConstructorCustomTags()
Return the array of Taglet s that can
appear in constructors. |
com.sun.tools.doclets.Taglet[] |
getFieldCustomTags()
Return the array of Taglet s that can
appear in fields. |
com.sun.tools.doclets.Taglet[] |
getInlineCustomTags()
Return the array of inline Taglet s that can
appear in comments. |
com.sun.tools.doclets.Taglet[] |
getMethodCustomTags()
Return the array of Taglet s that can
appear in methods. |
com.sun.tools.doclets.Taglet[] |
getOverviewCustomTags()
Return the array of Taglet s that can
appear in an overview. |
com.sun.tools.doclets.Taglet[] |
getPackageCustomTags()
Return the array of Taglet s that can
appear in packages. |
com.sun.tools.doclets.Taglet[] |
getTypeCustomTags()
Return the array of Taglet s that can
appear in classes or interfaces. |
boolean |
isKnownCustomTag(String tagName)
|
void |
printReport()
Print a list of Taglet s that might conflict with
standard tags in the future and a list of standard tags
that have been overriden. |
void |
seenCustomTag(String name)
Given a name of a seen custom tag, remove it from the set of unseen custom tags. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SIMPLE_TAGLET_OPT_SEPERATOR
public static final String ALT_SIMPLE_TAGLET_OPT_SEPERATOR
Constructor Detail |
public TagletManager(boolean nosince, boolean showversion, boolean showauthor, com.sun.tools.doclets.MessageRetriever message)
TagletManager
.
nosince
- true if we do not want to use @since tags.showversion
- true if we want to use @version tags.showauthor
- true if we want to use @author tags.message
- the message retriever to print warnings.Method Detail |
public void addCustomTag(com.sun.tools.doclets.Taglet customTag)
CustomTag
. This is used to add a Taglet from within
a Doclet. No message is printed to indicate that the Taglet is properly
registered because these Taglets are typically added for every execution of the
Doclet. We don't want to see this type of error message every time.
customTag
- the new CustomTag
to add.public void addCustomTag(String classname, String tagletPath)
Taglet
. Print a message to indicate whether or not
the Taglet was registered properly.
classname
- the name of the class representing the custom tag.tagletPath
- the path to the class representing the custom tag.public void addNewSimpleCustomTag(String tagName, String header, String locations)
SimpleTaglet
. If this tag already exists
and the header passed as an argument is null, move tag to the back of the
list. If this tag already exists and the header passed as an argument is
not null, overwrite previous tag with new one. Otherwise, add new
SimpleTaglet to list.
tagName
- the name of this tagheader
- the header to output.locations
- the possible locations that this tag
can appear in.public void seenCustomTag(String name)
name
- the name of the seen custom tag.public void checkTags(com.sun.javadoc.Doc doc, com.sun.javadoc.Tag[] tags, boolean areInlineTags)
Tag
s, check for spelling mistakes.
doc
- the Doc object that holds the tags.tags
- the list of Tag
s to check.areInlineTags
- true if the array of tags are inline and false otherwise.public com.sun.tools.doclets.Taglet[] getPackageCustomTags()
Taglet
s that can
appear in packages.
Taglet
s that can
appear in packages.public com.sun.tools.doclets.Taglet[] getTypeCustomTags()
Taglet
s that can
appear in classes or interfaces.
Taglet
s that can
appear in classes or interfaces.public com.sun.tools.doclets.Taglet[] getInlineCustomTags()
Taglet
s that can
appear in comments.
Taglet
s that can
appear in comments.public com.sun.tools.doclets.Taglet[] getFieldCustomTags()
Taglet
s that can
appear in fields.
Taglet
s that can
appear in field.public com.sun.tools.doclets.Taglet[] getConstructorCustomTags()
Taglet
s that can
appear in constructors.
Taglet
s that can
appear in constructors.public com.sun.tools.doclets.Taglet[] getMethodCustomTags()
Taglet
s that can
appear in methods.
Taglet
s that can
appear in methods.public com.sun.tools.doclets.Taglet[] getOverviewCustomTags()
Taglet
s that can
appear in an overview.
Taglet
s that can
appear in overview.public boolean isKnownCustomTag(String tagName)
public void printReport()
Taglet
s that might conflict with
standard tags in the future and a list of standard tags
that have been overriden.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |