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
-
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, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Constructor Details
-
MoodSubjectElement
-
-
Method Details
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in 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:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-