public class XMLComment extends java.lang.Object implements ParagraphElement, ReviewElement, ImportanceType
TYPE_NONECRITICAL, IMPORTANT, NORMAL| Constructor and Description |
|---|
XMLComment() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Return the author.
|
java.lang.String |
getComment()
Return the comment.
|
java.lang.String |
getDate()
Return the date.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
int |
getIndex()
Return the comment index.
|
java.lang.String |
getRef()
Return the comment reference composed using the comment index.
|
java.lang.String |
getTODOText()
Return the text of the comment.
|
short |
getType()
Return the type of the comment.
|
boolean |
hasAuthor()
Return true if the comment has an author.
|
boolean |
hasDate()
Return true if the comment has a date.
|
void |
setAuthor(java.lang.String author)
Set the author.
|
void |
setComment(java.lang.String comment)
Set the comment.
|
void |
setDate(java.lang.String date)
Set the date.
|
void |
setIndex(int index)
Set the comment index.
|
void |
setType(short type)
Set the type of the comment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStylepublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic void setType(short type)
type - the typepublic short getType()
public void setComment(java.lang.String comment)
comment - the commentpublic java.lang.String getComment()
public void setAuthor(java.lang.String author)
author - the authorpublic java.lang.String getAuthor()
public boolean hasAuthor()
public void setDate(java.lang.String date)
date - the datepublic java.lang.String getDate()
public boolean hasDate()
public void setIndex(int index)
index - the comment indexpublic int getIndex()
getIndex in interface ReviewElementpublic java.lang.String getTODOText()
getComment().getTODOText in interface ReviewElementpublic java.lang.String getRef()
getRef in interface ReviewElementCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence