Class MoodElement.MoodSubjectElement
java.lang.Object
org.jivesoftware.smackx.mood.element.MoodElement.MoodSubjectElement
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlElement,org.jivesoftware.smack.packet.XmlLangElement
- Enclosing class:
- MoodElement
public static class MoodElement.MoodSubjectElement
extends Object
implements org.jivesoftware.smack.packet.XmlElement
NamedElement which represents the mood.
This element has the element name of the mood selected from Mood.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Constructor Details
-
MoodSubjectElement
-
-
Method Details
-
getElementName
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) - Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
getMood
Return the mood of the user.- Returns:
- mood or null
-
getConcretisation
Return the concretisation of the mood.- Returns:
- concretisation or null
-
getNamespace
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-