public class XMLComment extends java.lang.Object implements ParagraphElement, org.docgene.model.ReviewElement, org.docgene.model.ImportanceType
TYPE_NONE
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, wait
getCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public 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 org.docgene.model.ReviewElement
public java.lang.String getTODOText()
getComment()
.getTODOText
in interface org.docgene.model.ReviewElement
public java.lang.String getRef()
getRef
in interface org.docgene.model.ReviewElement
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence