public abstract class AbstractXMLParent extends java.lang.Object implements XMLParent
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AbstractParagraph> |
paragraphs
The paragraphs list.
|
| Constructor and Description |
|---|
AbstractXMLParent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParagraph(AbstractParagraph par)
Add a paragraph.
|
java.util.List<AbstractParagraph> |
getParagraphs()
Return the element children paragraphs.
|
boolean |
isEmpty()
Return true if the parent is empty.
|
protected java.util.List<AbstractParagraph> paragraphs
public boolean isEmpty()
public void addParagraph(AbstractParagraph par)
addParagraph in interface XMLParentpar - the paragraphpublic java.util.List<AbstractParagraph> getParagraphs()
getParagraphs in interface XMLParentCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence