public static class MoodElement.MoodSubjectElement
extends java.lang.Object
implements org.jivesoftware.smack.packet.FullyQualifiedElement
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.
|
java.lang.String |
getNamespace() |
org.jivesoftware.smack.util.XmlStringBuilder |
toXML(org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MoodSubjectElement(Mood mood, MoodConcretisation concretisation)
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
toXML
in interface org.jivesoftware.smack.packet.Element
public Mood getMood()
public MoodConcretisation getConcretisation()
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smack.packet.FullyQualifiedElement