|
Extension SDK 10.1.2 | ||||||||||
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[] |
getDescriptionTextTags()
Finds and tags nested within the description text portion of this comment. |
JotElement |
getElement()
|
java.lang.String |
getRawCommentText()
|
JotDocSeeTag[] |
getSeeTags()
|
JotDocTag[] |
getTags()
Retrieves the javadoc doc tags associated with this comment. |
JotDocTag[] |
getTags(java.lang.String tagName)
|
void |
removeAllTags()
|
void |
removeTag(JotDocTag tag)
|
void |
setDescriptionText(java.lang.String text)
Sets the description text of this javadoc comment. |
void |
setRawCommentText(java.lang.String commentText)
sets the entire comment's text. |
Methods inherited from interface oracle.jdeveloper.jot.JotComment |
getAsDocComment, getCommentText, getText, getType, setCommentText |
Methods inherited from interface oracle.jdeveloper.jot.JotCodeElement |
addPrecedingComment, childrenContainErrors, delete, getContainingJotFile, getLeftWhitespace, getLength, getRightWhitespace, isInError, isSource, setLeftWhitespace, setRightWhitespace |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getChildren, getContainedElements, getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
Method Detail |
public java.lang.String getDescriptionText() throws JotInvalidElementException
JotInvalidElementException
public void setDescriptionText(java.lang.String text) throws JotInvalidElementException
text
- the new text.
JotInvalidElementException
public JotDocTag[] getDescriptionTextTags() throws JotInvalidElementException
JotDocTag
s found.
JotInvalidElementException
JotDocLinkTag
public JotDocTag[] getTags() throws JotInvalidElementException
JotInvalidElementException
public JotDocTag addTag(JotDocTag marker, boolean before, java.lang.String tagName, java.lang.String tagText) throws JotInvalidElementException
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.
JotInvalidElementException
public void removeTag(JotDocTag tag) throws JotInvalidElementException
JotInvalidElementException
public void removeAllTags() throws JotInvalidElementException
JotInvalidElementException
public java.lang.String getRawCommentText() throws JotInvalidElementException
JotInvalidElementException
public void setRawCommentText(java.lang.String commentText) throws JotInvalidElementException
JotInvalidElementException
public JotDocTag[] getTags(java.lang.String tagName) throws JotInvalidElementException
tagName
- the name of tags, as a String, to return.
JotDocTag
items of the given type.
JotInvalidElementException
public JotDocSeeTag[] getSeeTags() throws JotInvalidElementException
JotDocSeeTag
tags present in the comment..
JotInvalidElementException
public JotElement getElement() throws JotInvalidElementException
JotElement
that this comment documents.
JotInvalidElementException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.