Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS

Class sun.tools.javadoc.Tag

java.lang.Object
    |
    +----sun.tools.javadoc.Tag
Subclasses:
ParamTag, SeeTag, ThrowsTag

public class Tag
extends java.lang.Object
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.

See Also:
SeeTag, ParamTag, ThrowsTag, tags

Method Summary
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.
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

name

public java.lang.String name()
Return the name of this tag.

kind

public java.lang.String kind()
Return the kind of this tag.

text

public java.lang.String text()
Return the text of this tag, that is, portion beyond tag name.

toString

public java.lang.String toString()
convert this object to a string.
Overrides:
toString in class java.lang.Object

Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS