public class XMLTerm extends org.docgene.model.AbstractStyledElement implements ParagraphElementParent, org.docgene.model.AnchorElement
TYPE_NONE| Constructor and Description |
|---|
XMLTerm(java.lang.String term) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(ParagraphElement element)
Add an element.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.util.List<ParagraphElement> |
getElements()
Return the list of elements.
|
java.lang.String |
getID()
Return the anchored element ID.
|
java.lang.String |
getTerm() |
void |
setElements(java.util.List<ParagraphElement> elements)
Set the list of elements.
|
void |
setID(java.lang.String id)
Do nothing.
|
getCustomStyles, getInlinedStyle, setCustomStyles, setInlinedStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptygetStyle, hasInlinedStyle, setCustomStylespublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic java.lang.String getTerm()
public void setElements(java.util.List<ParagraphElement> elements)
setElements in interface ParagraphElementParentelements - the list of elementspublic void addElement(ParagraphElement element)
addElement in interface ParagraphElementParentelement - the elementpublic java.util.List<ParagraphElement> getElements()
getElements in interface ParagraphElementParentpublic void setID(java.lang.String id)
setID in interface org.docgene.model.AnchorElementpublic java.lang.String getID()
getID in interface org.docgene.model.AnchorElementCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence