|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a JavaDoc comment block.
| Inner Class Summary | |
static interface |
JavaDoc.Class
The JavaDoc of a class. |
static interface |
JavaDoc.Field
The JavaDoc of a field. |
static interface |
JavaDoc.Method
The JavaDoc of a method. |
| Field Summary | |
static int |
ADD
Serves as second parameter in method changeTags(org.openide.src.JavaDocTag[], int). |
static int |
REMOVE
Serves as second parameter in method changeTags(org.openide.src.JavaDocTag[], int). |
static int |
SET
Serves as second parameter in method changeTags(org.openide.src.JavaDocTag[], int). |
| Method Summary | |
void |
changeTags(JavaDocTag[] tags,
int action)
Adds removes or sets tags used in this comment |
void |
clearJavaDoc()
Clears the javadoc from the source. |
String |
getRawText()
Get the entire text of the comment. |
JavaDocTag.See[] |
getSeeTags()
Gets all @see tags |
JavaDocTag[] |
getTags()
Gets all tags from comment. |
JavaDocTag[] |
getTags(String name)
Gets all tags of given name |
String |
getText()
Get the actual text, cleared of all (non-inline) tags. |
boolean |
isEmpty()
Test if this javadoc is empty. |
void |
setRawText(String s)
Set the raw text of the comment. |
void |
setText(String s)
Set the actual text. |
| Field Detail |
public static final int ADD
changeTags(org.openide.src.JavaDocTag[], int).public static final int REMOVE
changeTags(org.openide.src.JavaDocTag[], int).public static final int SET
changeTags(org.openide.src.JavaDocTag[], int).| Method Detail |
public String getRawText()
public void setRawText(String s)
throws SourceException
s - the whole text to setSourceException - if the modification cannot be performedpublic String getText()
public void setText(String s)
throws SourceException
s - the actual text, without any (non-inline) tagsSourceException - if the modification cannot be performed
public void clearJavaDoc()
throws SourceException
public boolean isEmpty()
public JavaDocTag[] getTags()
public JavaDocTag[] getTags(String name)
public void changeTags(JavaDocTag[] tags,
int action)
throws SourceException
elems - the new initializersaction - ADD, REMOVE, or SETSourceException - if impossiblepublic JavaDocTag.See[] getSeeTags()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||