Class MoodElement.MoodSubjectElement
- java.lang.Object
-
- org.jivesoftware.smackx.mood.element.MoodElement.MoodSubjectElement
-
- All Implemented Interfaces:
Element,FullyQualifiedElement,NamedElement,XmlLangElement
- Enclosing class:
- MoodElement
public static class MoodElement.MoodSubjectElement extends java.lang.Object implements FullyQualifiedElement
NamedElementwhich represents the mood. This element has the element name of the mood selected fromMood.
-
-
Constructor Summary
Constructors Constructor Description MoodSubjectElement(Mood mood, MoodConcretisation concretisation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MoodConcretisationgetConcretisation()Return the concretisation of the mood.java.lang.StringgetElementName()Returns the root element name.MoodgetMood()Return the mood of the user.java.lang.StringgetNamespace()Returns the root element XML namespace.XmlStringBuildertoXML(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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Constructor Detail
-
MoodSubjectElement
public MoodSubjectElement(Mood mood, MoodConcretisation concretisation)
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
getConcretisation
public MoodConcretisation getConcretisation()
Return the concretisation of the mood.- Returns:
- concretisation or null
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
-