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, setInlinedStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
getStyle, hasInlinedStyle, setCustomStyles
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public java.lang.String getTerm()
public void setElements(java.util.List<ParagraphElement> elements)
setElements
in interface ParagraphElementParent
elements
- the list of elementspublic void addElement(ParagraphElement element)
addElement
in interface ParagraphElementParent
element
- the elementpublic java.util.List<ParagraphElement> getElements()
getElements
in interface ParagraphElementParent
public void setID(java.lang.String id)
setID
in interface org.docgene.model.AnchorElement
public java.lang.String getID()
getID
in interface org.docgene.model.AnchorElement
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence