public interface XMLParent
| Modifier and Type | Method and Description | 
|---|---|
| void | addChapter(XMLChapter chapter)Add a chapter. | 
| void | addParagraph(AbstractParagraph par)Add a paragraph. | 
| java.util.List<XMLChapter> | getChapters()Return the element children chapters. | 
| java.util.List<AbstractParagraph> | getParagraphs()Return the element children paragraphs. | 
| XMLParent | getParent()Return the element parent. | 
| default boolean | isEmpty()Return true if the parent is empty. | 
XMLParent getParent()
java.util.List<XMLChapter> getChapters()
void addChapter(XMLChapter chapter)
chapter - the chapterjava.util.List<AbstractParagraph> getParagraphs()
void addParagraph(AbstractParagraph par)
par - the paragraphdefault boolean isEmpty()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence