public class XMLTodoList extends java.lang.Object implements ParagraphElement
Modifier and Type | Class and Description |
---|---|
static class |
XMLTodoList.ArticleTodos
The TODOs for one article.
|
TYPE_NONE
Modifier and Type | Method and Description |
---|---|
void |
addTodo(XMLArticle article,
org.docgene.model.TodoElement todo)
Add a TODO reference.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
static XMLTodoList |
getInstance() |
XMLList |
getList()
Return the todo list as a "ol" element.
|
java.util.Map<java.lang.String,XMLTodoList.ArticleTodos> |
getTodos()
Return the non empty todos sorted by article id.
|
boolean |
hasTODOs()
Return true if there are non empty todos.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public static XMLTodoList getInstance()
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public java.util.Map<java.lang.String,XMLTodoList.ArticleTodos> getTodos()
public boolean hasTODOs()
public XMLList getList()
public void addTodo(XMLArticle article, org.docgene.model.TodoElement todo)
article
- the article where there is the TODOtodo
- the TODOCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence