|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
BLOCK
A constant designating a block comment. |
static int |
DOC
A constant designating a documentation comment. |
static int |
LINE
A constant designating a line comment. |
static int |
NONE
A constant designating an improperly formatted comment. |
Method Summary | |
JotDocComment |
getAsDocComment()
Retrieves this comment as a doc comment. |
java.lang.String |
getCommentText()
Retrieves the comment text of this JotComment instance. |
java.lang.String |
getText()
Deprecated. |
int |
getType()
Retrieves the type of comment represented by this JotComment instance. |
void |
setCommentText(java.lang.String text)
Sets the comment text of this comment. |
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 |
Field Detail |
public static final int NONE
public static final int BLOCK
public static final int LINE
public static final int DOC
Method Detail |
public int getType()
public java.lang.String getText() throws JotInvalidElementException
JotInvalidElementException
public java.lang.String getCommentText() throws JotInvalidElementException
JotInvalidElementException
public void setCommentText(java.lang.String text) throws JotInvalidElementException
text
- the new text of the comment.
JotInvalidElementException
public JotDocComment getAsDocComment()
null
is returned.
|
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.