public class XMLTodoList extends java.lang.Object implements ParagraphElement
| Modifier and Type | Class and Description | 
|---|---|
| static class  | XMLTodoList.ArticleTodosThe TODOs for one article. | 
TYPE_NONE| Modifier and Type | Method and Description | 
|---|---|
| void | addTodo(XMLArticle article,
       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, waitgetCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStylepublic static XMLTodoList getInstance()
public java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic java.util.Map<java.lang.String,XMLTodoList.ArticleTodos> getTodos()
public boolean hasTODOs()
public XMLList getList()
public void addTodo(XMLArticle article, 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