|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.js.JavaComment
A class representing a Java comment.
Method Summary | |
void |
addAuthor(java.lang.String author)
Sets the JavaDoc author field. |
void |
addLine(java.lang.String s)
Adds a line to the comments content. |
void |
addParam(java.lang.String s)
Adds a JavaDoc "param" field. |
void |
addSee(java.lang.String pSee)
Adds an element to the list of Strings which should be used for "see" fields. |
void |
addThrows(java.lang.String s)
Adds a JavaDoc "throw" field. |
java.util.List |
getAuthors()
Returns the JavaDoc author field or null, if there is no author field. |
java.util.ArrayList |
getLines()
Returns an array of lines being the comments content. |
java.util.List |
getParams()
Returns an array of values for the JavaDoc param field. |
java.lang.String |
getReturn()
Returns the JavaDoc return field or null, if there is no return field. |
java.util.List |
getSee()
Returns an array list of Strings which should be used for "see" fields. |
java.util.List |
getThrows()
Returns an array of values for the JavaDoc throw field. |
java.lang.String |
getVersion()
Returns the JavaDoc version field or null, if there is no version field. |
void |
setReturn(java.lang.String pReturns)
Sets the JavaDoc return field. |
void |
setVersion(java.lang.String pVersion)
Sets the JavaDoc version field. |
void |
write(IndentationTarget pTarget)
Returns a string representation of this comment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.util.List getAuthors()
Returns the JavaDoc author field or null, if there is no author field.
addAuthor(java.lang.String)
public void addAuthor(java.lang.String author)
Sets the JavaDoc author field. Use null to disable the author field.
getAuthors()
public java.lang.String getVersion()
Returns the JavaDoc version field or null, if there is no version field.
setVersion(java.lang.String)
public void setVersion(java.lang.String pVersion)
Sets the JavaDoc version field. Use null to disable the version field.
getVersion()
public java.lang.String getReturn()
Returns the JavaDoc return field or null, if there is no return field.
setReturn(java.lang.String)
public void setReturn(java.lang.String pReturns)
Sets the JavaDoc return field. Use null to disable the return field.
getReturn()
public java.util.List getSee()
Returns an array list of Strings which should be used for "see" fields.
addSee(java.lang.String)
public void addSee(java.lang.String pSee)
Adds an element to the list of Strings which should be used for "see" fields.
getSee()
public java.util.ArrayList getLines()
Returns an array of lines being the comments content.
addLine(java.lang.String)
public void addLine(java.lang.String s)
Adds a line to the comments content.
getLines()
public java.util.List getParams()
Returns an array of values for the JavaDoc param field.
addParam(java.lang.String)
public void addParam(java.lang.String s)
Adds a JavaDoc "param" field.
getParams()
public java.util.List getThrows()
Returns an array of values for the JavaDoc throw field.
addThrows(java.lang.String)
public void addThrows(java.lang.String s)
Adds a JavaDoc "throw" field.
getThrows()
public void write(IndentationTarget pTarget) throws java.io.IOException
Returns a string representation of this comment.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |