|
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.tags.SimpleTaglet
A simple single argument custom tag used by the Standard Doclet.
Field Summary | |
static String |
ALL
Use in location string when the tag is to appear in all locations. |
static String |
CONSTRUCTOR
The marker in the location string for constructors. |
static String |
EXCLUDED
The marker in the location string for excluded tags. |
static String |
FIELD
The marker in the location string for fields. |
protected String |
header
The header to output. |
protected String |
locations
The possible locations that this tag can appear in. |
static String |
METHOD
The marker in the location string for methods. |
static String |
OVERVIEW
The marker in the location string for overview. |
static String |
PACKAGE
The marker in the location string for packages. |
protected String |
tagName
The name of this tag. |
static String |
TYPE
The marker in the location string for types. |
Constructor Summary | |
SimpleTaglet(String tagName,
String header,
String locations)
Construct a SimpleTaglet . |
Method Summary | |
String |
getName()
Return the name of this Taglet . |
boolean |
inConstructor()
Return true if this SimpleTaglet
is used in constructor documentation. |
boolean |
inField()
Return true if this SimpleTaglet
is used in field documentation. |
boolean |
inMethod()
Return true if this SimpleTaglet
is used in method documentation. |
boolean |
inOverview()
Return true if this SimpleTaglet
is used in overview documentation. |
boolean |
inPackage()
Return true if this SimpleTaglet/code>
is used in package documentation. |
boolean |
inType()
Return true if this SimpleTaglet
is used in type documentation (classes or interfaces). |
boolean |
isInlineTag()
Return true if this Taglet
is an inline tag. |
String |
toString(com.sun.javadoc.Tag tag)
Given the Tag representation of this custom
tag, return its string representation. |
String |
toString(com.sun.javadoc.Tag[] tags)
Given an array of Tag s representing this custom
tag, return its string representation. |
String |
toString(com.sun.javadoc.Tag[] tags,
HtmlStandardWriter html)
Given an array of Tag s representing this custom
tag, return its string representation, with inline tags resolved. |
String |
toString(com.sun.javadoc.Tag tag,
HtmlStandardWriter html)
Given the Tag representation of this custom
tag, return its string representation, with inline tags resolved. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String EXCLUDED
public static final String PACKAGE
public static final String TYPE
public static final String CONSTRUCTOR
public static final String FIELD
public static final String METHOD
public static final String OVERVIEW
public static final String ALL
protected String tagName
protected String header
protected String locations
Constructor Detail |
public SimpleTaglet(String tagName, String header, String locations)
SimpleTaglet
.
tagName
- the name of this tagheader
- the header to output.locations
- the possible locations that this tag
can appear in. The String
can contain 'p'
for package, 't' for type, 'm' for method, 'c' for constructor
and 'f' for field.Method Detail |
public String getName()
Taglet
.
getName
in interface com.sun.tools.doclets.Taglet
public boolean inConstructor()
SimpleTaglet
is used in constructor documentation.
inConstructor
in interface com.sun.tools.doclets.Taglet
SimpleTaglet
is used in constructor documentation and false
otherwise.public boolean inField()
SimpleTaglet
is used in field documentation.
inField
in interface com.sun.tools.doclets.Taglet
SimpleTaglet
is used in field documentation and false
otherwise.public boolean inMethod()
SimpleTaglet
is used in method documentation.
inMethod
in interface com.sun.tools.doclets.Taglet
SimpleTaglet
is used in method documentation and false
otherwise.public boolean inOverview()
SimpleTaglet
is used in overview documentation.
inOverview
in interface com.sun.tools.doclets.Taglet
SimpleTaglet
is used in overview documentation and false
otherwise.public boolean inPackage()
SimpleTaglet/code>
is used in package documentation.
- Specified by:
inPackage
in interface com.sun.tools.doclets.Taglet
- Returns:
- true if this
SimpleTaglet
is used in package documentation and false
otherwise.
public boolean inType()
SimpleTaglet
is used in type documentation (classes or interfaces).
inType
in interface com.sun.tools.doclets.Taglet
SimpleTaglet
is used in type documentation and false
otherwise.public boolean isInlineTag()
Taglet
is an inline tag.
isInlineTag
in interface com.sun.tools.doclets.Taglet
Taglet
is an inline tag and false otherwise.public String toString(com.sun.javadoc.Tag tag)
Tag
representation of this custom
tag, return its string representation.
toString
in interface com.sun.tools.doclets.Taglet
tag
- The Tag
representation of this custom tag.public String toString(com.sun.javadoc.Tag[] tags)
Tag
s representing this custom
tag, return its string representation.
toString
in interface com.sun.tools.doclets.Taglet
tags
- the array of Tag
s representing of this custom tag.public String toString(com.sun.javadoc.Tag tag, HtmlStandardWriter html)
Tag
representation of this custom
tag, return its string representation, with inline tags resolved.
tag
- The Tag
representation of this custom tag.html
- The HTMLStandardWriter that will output this tag.public String toString(com.sun.javadoc.Tag[] tags, HtmlStandardWriter html)
Tag
s representing this custom
tag, return its string representation, with inline tags resolved. If
there is no output, return null.
tags
- The array of Tag
s representing of this custom tag.html
- The HTMLStandardWriter that will output this tag.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |