public static class MoodElement.MoodSubjectElement
extends java.lang.Object
implements org.jivesoftware.smack.packet.NamedElement
NamedElement which represents the mood.
This element has the element name of the mood selected from Mood.| Constructor and Description |
|---|
MoodSubjectElement(Mood mood,
MoodConcretisation concretisation) |
| Modifier and Type | Method and Description |
|---|---|
MoodConcretisation |
getConcretisation()
Return the concretisation of the mood.
|
java.lang.String |
getElementName() |
Mood |
getMood()
Return the mood of the user.
|
org.jivesoftware.smack.util.XmlStringBuilder |
toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) |
public MoodSubjectElement(Mood mood, MoodConcretisation concretisation)
public java.lang.String getElementName()
getElementName in interface org.jivesoftware.smack.packet.NamedElementpublic org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
toXML in interface org.jivesoftware.smack.packet.Elementpublic Mood getMood()
public MoodConcretisation getConcretisation()