Class MoodElement.MoodSubjectElement
java.lang.Object
org.jivesoftware.smackx.mood.element.MoodElement.MoodSubjectElement
- All Implemented Interfaces:
Element,NamedElement,XmlElement,XmlLangElement
- Enclosing class:
- MoodElement
NamedElement which represents the mood.
This element has the element name of the mood selected from Mood.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the concretisation of the mood.Returns the root element name.getMood()Return the mood of the user.Returns the root element XML namespace.toXML(XmlEnvironment xmlEnvironment) 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.XmlElement
getLanguage, getQName
-
Constructor Details
-
MoodSubjectElement
-
-
Method Details
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
toXML
-
getMood
Return the mood of the user.- Returns:
- mood or null
-
getConcretisation
Return the concretisation of the mood.- Returns:
- concretisation or null
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-