Class MoodConcretisation
- java.lang.Object
-
- org.jivesoftware.smackx.mood.element.MoodConcretisation
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public abstract class MoodConcretisation extends java.lang.Object implements 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 overwriteNamedElement.getElementName()
andFullyQualifiedElement.getNamespace()
with your custom values. TODO: Solution for provider.
-
-
Constructor Summary
Constructors Constructor Description MoodConcretisation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMood()
XmlStringBuilder
toXML(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.FullyQualifiedElement
getLanguage, getNamespace, getQName
-
Methods inherited from interface org.jivesoftware.smack.packet.NamedElement
getElementName
-
-
-
-
Constructor Detail
-
MoodConcretisation
public MoodConcretisation()
-
-
Method Detail
-
toXML
public final XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
getMood
public java.lang.String getMood()
-
-