Class ListElement
- java.lang.Object
-
- org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
-
- org.jivesoftware.smackx.message_markup.element.MarkupElement.NonEmptyChildElement
-
- org.jivesoftware.smackx.message_markup.element.ListElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class ListElement extends MarkupElement.NonEmptyChildElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListElement.ListEntryElement
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEM_LI
static java.lang.String
ELEMENT
-
Fields inherited from class org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
ATTR_END, ATTR_START
-
-
Constructor Summary
Constructors Constructor Description ListElement(int start, int end, java.util.List<ListElement.ListEntryElement> entries)
Create a new List element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendInnerXml(XmlStringBuilder xml)
java.lang.String
getElementName()
Returns the root element name.java.util.List<ListElement.ListEntryElement>
getEntries()
Return a list of all list entries.-
Methods inherited from class org.jivesoftware.smackx.message_markup.element.MarkupElement.NonEmptyChildElement
afterXmlPrelude
-
Methods inherited from class org.jivesoftware.smackx.message_markup.element.MarkupElement.MarkupChildElement
getEnd, getNamespace, getStart, toXML
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
ELEM_LI
public static final java.lang.String ELEM_LI
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ListElement
public ListElement(int start, int end, java.util.List<ListElement.ListEntryElement> entries)
Create a new List element.- Parameters:
start
- start index of the listend
- end index of the listentries
- list entries
-
-
Method Detail
-
getEntries
public java.util.List<ListElement.ListEntryElement> getEntries()
Return a list of all list entries.- Returns:
- entries TODO javadoc me please
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
appendInnerXml
public void appendInnerXml(XmlStringBuilder xml)
- Specified by:
appendInnerXml
in classMarkupElement.NonEmptyChildElement
-
-