|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JotDocComment
represents instances of javadoc comment blocks.
A javadoc comment consists of a description, which can be empty, and an optional list
of doc tags.
Field Summary |
Fields inherited from interface oracle.jdeveloper.jot.JotComment |
BLOCK, DOC, LINE, NONE |
Method Summary | |
JotDocTag |
addTag(JotDocTag marker,
boolean before,
java.lang.String tagName,
java.lang.String tagText)
Adds a new doc tag. |
java.lang.String |
getDescriptionText()
Retrieves the description text of this javadoc comment. |
JotDocTag[] |
getTags()
Retrieves the javadoc doc tags associated with this comment. |
void |
removeAllTags()
|
void |
removeTag(JotDocTag tag)
|
void |
setDescriptionText(java.lang.String text)
Sets the description text of this javadoc comment. |
Methods inherited from interface oracle.jdeveloper.jot.JotComment |
getAsDocComment, getCommentText, getText, getType, setCommentText |
Method Detail |
public java.lang.String getDescriptionText()
public void setDescriptionText(java.lang.String text)
text
- the new text.public JotDocTag[] getTags()
public JotDocTag addTag(JotDocTag marker, boolean before, java.lang.String tagName, java.lang.String tagText)
marker
- the doc tag to position relative to.before
- whether to position the new doc tag before or after
the marker doc tag; or, if the marker is null
,
whether to position the new doc tag at the beginning or
the end of the doc tag list.tagName
- the name of the new tag; the '@' character should be omitted.tagText
- the text of the new tag.
public void removeTag(JotDocTag tag)
public void removeAllTags()
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.