org.openide.src
Interface JavaDocTag

All Known Subinterfaces:
JavaDocTag.Param, JavaDocTag.See, JavaDocTag.SerialField, JavaDocTag.Throws

public interface JavaDocTag

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 special interfaces (JavaDocTag.See, JavaDocTag.Param, JavaDocTag.Throws and JavaDocTag.SerialField). The interfaces provide subset of methods defined in Tag interfaces in the Doclet API.

See Also:
JavaDoc.getTags()

Inner Class Summary
static interface JavaDocTag.Param
          Represents an @param documentation tag.
static interface JavaDocTag.See
          Represents a see also documentation tag.
static interface JavaDocTag.SerialField
          Documents a Serializable field defined by an ObjectStreamField.
static interface JavaDocTag.Throws
          Represents a @throws or @exception documentation tag.
 
Method Summary
 String kind()
          Return the kind of this tag.
 String name()
          Return the name of this tag.
 String text()
          Return the text of this tag, that is, portion beyond tag name.
 

Method Detail

name

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

kind

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

text

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


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.