|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a documentation tag, e.g. @since, @author, @version. Given a tag (e.g. "@since 1.2"), holds tag name (e.g. "@since") and tag text (e.g. "1.2"). Tags with structure or which require special processing are handled by subclasses (ParamTag, SeeTag, and ThrowsTag.
SeeTag
,
ParamTag
,
ThrowsTag
,
Doc.tags()
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary | |
Tag[] |
firstSentenceTags()
Return the first sentence of the comment as tags. |
Tag[] |
inlineTags()
For documentation comment with embedded @link tags, return the array of Tags consisting of SeeTag(s) and text containing Tag(s). |
java.lang.String |
kind()
Return the kind of this tag. |
java.lang.String |
name()
Return the name of this tag. |
java.lang.String |
text()
Return the text of this tag, that is, portion beyond tag name. |
java.lang.String |
toString()
convert this object to a string. |
Method Detail |
public java.lang.String name()
public java.lang.String kind()
public java.lang.String text()
public java.lang.String toString()
public Tag[] inlineTags()
ParamTag
,
ThrowsTag
public Tag[] firstSentenceTags()
Tag
of kind "Text".
Inline tags are represented as a SeeTag
of kind "link".
First sentence is determined by
java.text.BreakIterator#getSentenceInstance(Locale)
.Tag
s representing the
first sentence of the comment
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |