public class XMLListItem extends java.lang.Object implements ListElement, ParagraphElementParent
TYPE_NONE| Constructor and Description |
|---|
XMLListItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(ParagraphElement element)
Add an element.
|
java.util.Set<java.lang.String> |
getCustomStyles()
Return the element custom classes.
|
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 optional "li" element ID.
|
XMLList |
getParentList()
Return the parent list.
|
void |
setCustomStyles(java.util.Set<java.lang.String> classes)
Set the element custom classes.
|
void |
setElements(java.util.List<ParagraphElement> elements)
Set the list of elements.
|
void |
setID(java.lang.String id)
Set the optional "li" element ID.
|
void |
setParentList(XMLList parentList)
Set the parent list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConditionElementsList, getConditionUniqueElement, hasParentList, hasUniqueElementgetInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStylecountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptypublic void setParentList(XMLList parentList)
setParentList in interface ListElementparentList - the parent listpublic XMLList getParentList()
getParentList in interface ListElementpublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic void setID(java.lang.String id)
id - the "li" element IDpublic java.lang.String getID()
public void setCustomStyles(java.util.Set<java.lang.String> classes)
setCustomStyles in interface StyledElementclasses - the custom element classespublic java.util.Set<java.lang.String> getCustomStyles()
getCustomStyles in interface StyledElementpublic 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 ParagraphElementParentCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence