public class XMLTodo extends java.lang.Object implements TodoElement, ParagraphElement, ImportanceType
TYPE_NONE
CRITICAL, IMPORTANT, NORMAL
Constructor and Description |
---|
XMLTodo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdditionalTextContent()
Return the TODO additional text content ( ncluding the date, the author, and the reason).
|
java.lang.String |
getAuthor()
Return the author.
|
java.lang.String |
getDate()
Return the date.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
int |
getIndex()
Return the todo index.
|
java.lang.String |
getReason()
Return the reason of the TODO.
|
java.lang.String |
getRef()
Return the todo reference composed using the todo index.
|
java.lang.String |
getTODOText()
Return the text of the TODO.
|
short |
getType()
Return the type of the TODO.
|
boolean |
hasAdditionalTextContent()
Return true if the TODO ahas dditional text content ( ncluding the date, the author, and the reason).
|
boolean |
hasAuthor()
Return true if the TODO has an author.
|
boolean |
hasDate()
Return true if the TODO has a date.
|
boolean |
hasReason()
Return true if the TODO has a reason.
|
boolean |
hasTODOText()
Return true if the TODO has a text.
|
void |
setAuthor(java.lang.String author)
Set the author.
|
void |
setDate(java.lang.String date)
Set the date.
|
void |
setIndex(int index)
Set the todo index.
|
void |
setReason(java.lang.String reason)
Set the reason of the TODO.
|
void |
setText(java.lang.String text)
Set the text of the TODO.
|
void |
setType(short type)
Set the type of the TODO.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public void setText(java.lang.String text)
text
- the reasonpublic boolean hasTODOText()
hasTODOText
in interface TodoElement
public java.lang.String getReason()
getReason
in interface TodoElement
public void setReason(java.lang.String reason)
reason
- the reasonpublic boolean hasReason()
hasReason
in interface TodoElement
public java.lang.String getTODOText()
getTODOText
in interface ReviewElement
getTODOText
in interface TodoElement
public java.lang.String toString()
toString
in class java.lang.Object
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 boolean hasAdditionalTextContent()
public java.lang.String getAdditionalTextContent()
public void setType(short type)
type
- the typepublic short getType()
getType
in interface TodoElement
public void setIndex(int index)
index
- the todo indexpublic int getIndex()
getIndex
in interface ReviewElement
public java.lang.String getRef()
getRef
in interface ReviewElement
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence