Class MarkupElement
java.lang.Object
org.jivesoftware.smackx.message_markup.element.MarkupElement
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Interface for block level child elements.static final class
static class
Interface for child elements.static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMarkupElement
(List<MarkupElement.MarkupChildElement> childElements) Create a new MarkupElement. -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkupElement.Builder
Return a new Builder for Message Markup elements.Return a list of all child elements.Returns the root element name.Returns the root element XML namespace.toXML
(XmlEnvironment enclosingNamespace) 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.XmlElement
getLanguage, getQName
-
Field Details
-
NAMESPACE
- See Also:
-
ELEMENT
- See Also:
-
-
Constructor Details
-
MarkupElement
Create a new MarkupElement.- Parameters:
childElements
- child elements.
-
-
Method Details
-
getBuilder
Return a new Builder for Message Markup elements.- Returns:
- builder.
-
getChildElements
Return a list of all child elements.- Returns:
- children TODO javadoc me please
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
toXML
-