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, wait
getConditionElementsList, getConditionUniqueElement, hasParentList, hasUniqueElement
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
public void setParentList(XMLList parentList)
setParentList
in interface ListElement
parentList
- the parent listpublic XMLList getParentList()
getParentList
in interface ListElement
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public 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 StyledElement
classes
- the custom element classespublic java.util.Set<java.lang.String> getCustomStyles()
getCustomStyles
in interface StyledElement
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
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence