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 -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.NamedElement
getElementNameMethods 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:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
getMood
-