public class XMLDiv extends org.docgene.model.AbstractParagraph implements XMLParent, JustifiedElement
ALIGNMENT_CENTER, ALIGNMENT_INHERIT, ALIGNMENT_JUSTIFIED, ALIGNMENT_LEFT, ALIGNMENT_NONE, ALIGNMENT_RIGHT, JUSTIFIED_AUTO, JUSTIFIED_CHARACTER, JUSTIFIED_INHERIT, JUSTIFIED_NONE, JUSTIFIED_WORD
TYPE_NONE
Modifier and Type | Method and Description |
---|---|
void |
addChapter(XMLChapter chapter)
Do nothing.
|
void |
addParagraph(org.docgene.model.AbstractParagraph par)
Do nothing.
|
char |
getAlignment()
Return the alignment of the element.
|
java.util.List<XMLChapter> |
getChapters()
Return null.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
char |
getJustification()
Return the justification of the element.
|
java.util.List<org.docgene.model.AbstractParagraph> |
getParagraphs()
Return null.
|
XMLParent |
getParent()
Return null.
|
void |
setAlignment(char alignment)
Set the alignment of the element.
|
void |
setJustification(char justification)
Set the justification of the element.
|
addElement, getElements, removeLastElement, setElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
getCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public XMLDiv(XMLParent parent)
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public void setAlignment(char alignment)
setAlignment
in interface JustifiedElement
alignment
- the alignment typepublic char getAlignment()
getAlignment
in interface JustifiedElement
public void setJustification(char justification)
setJustification
in interface JustifiedElement
justification
- the justificationpublic char getJustification()
getJustification
in interface JustifiedElement
public XMLParent getParent()
public java.util.List<XMLChapter> getChapters()
getChapters
in interface XMLParent
public void addChapter(XMLChapter chapter)
addChapter
in interface XMLParent
chapter
- the chapterpublic java.util.List<org.docgene.model.AbstractParagraph> getParagraphs()
getParagraphs
in interface XMLParent
public void addParagraph(org.docgene.model.AbstractParagraph par)
addParagraph
in interface XMLParent
par
- the paragraphCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence