Class MoodConcretisation

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.FullyQualifiedElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlLangElement

    public abstract class MoodConcretisation
    extends java.lang.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 FullyQualifiedElement.getNamespace() with your custom values. TODO: Solution for provider.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMood()  
      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.FullyQualifiedElement

        getLanguage, getNamespace, getQName
      • Methods inherited from interface org.jivesoftware.smack.packet.NamedElement

        getElementName
    • Constructor Detail

      • MoodConcretisation

        public MoodConcretisation()
    • Method Detail

      • 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 java.lang.String getMood()