Class MoodConcretisation

java.lang.Object
org.jivesoftware.smackx.mood.element.MoodConcretisation
All Implemented Interfaces:
org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement

public abstract class MoodConcretisation extends Object implements org.jivesoftware.smack.packet.ExtensionElement
XEP-0107 can be extended with additional custom mood concretisations. In order to extend Smacks implementation with a custom mood concretisation, just extend this class and overwrite NamedElement.getElementName() and XmlElement.getNamespace() with your custom values. TODO: Solution for provider.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    final org.jivesoftware.smack.util.XmlStringBuilder
    toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
     

    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.NamedElement

    getElementName

    Methods inherited from interface org.jivesoftware.smack.packet.XmlElement

    getLanguage, getNamespace, getQName
  • Constructor Details

    • MoodConcretisation

      public MoodConcretisation()
  • Method Details

    • toXML

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

      public String getMood()