Class MoodElement.MoodSubjectElement

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement
    Enclosing class:
    MoodElement

    public static class MoodElement.MoodSubjectElement
    extends java.lang.Object
    implements org.jivesoftware.smack.packet.XmlElement
    NamedElement which represents the mood. This element has the element name of the mood selected from Mood.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • 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.Element

        toXML, toXML
      • Methods inherited from interface org.jivesoftware.smack.packet.XmlElement

        getLanguage, getQName
    • Method Detail

      • getElementName

        public java.lang.String getElementName()
        Specified by:
        getElementName in interface org.jivesoftware.smack.packet.NamedElement
      • toXML

        public org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
        Specified by:
        toXML in interface org.jivesoftware.smack.packet.Element
      • getMood

        public Mood getMood()
        Return the mood of the user.
        Returns:
        mood or null
      • getConcretisation

        public MoodConcretisation getConcretisation()
        Return the concretisation of the mood.
        Returns:
        concretisation or null
      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.jivesoftware.smack.packet.XmlElement