Class MUCLightElements.AffiliationsChangeExtension
java.lang.Object
org.jivesoftware.smackx.muclight.element.MUCLightElements.AffiliationsChangeExtension
- 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
- Enclosing class:
- MUCLightElements
public static class MUCLightElements.AffiliationsChangeExtension
extends Object
implements org.jivesoftware.smack.packet.ExtensionElement
Affiliations change extension element class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAffiliationsChangeExtension(Map<org.jxmpp.jid.Jid, MUCLightAffiliation> affiliations, String prevVersion, String version) -
Method Summary
Modifier and TypeMethodDescriptionfrom(org.jivesoftware.smack.packet.Message message) Map<org.jxmpp.jid.Jid,MUCLightAffiliation> Get the affiliations.Get the previous version.Get the version.toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) 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.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
QNAME
-
-
Constructor Details
-
AffiliationsChangeExtension
public AffiliationsChangeExtension(Map<org.jxmpp.jid.Jid, MUCLightAffiliation> affiliations, String prevVersion, String version)
-
-
Method Details
-
getElementName
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
getNamespace
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-
getAffiliations
Get the affiliations.- Returns:
- the affiliations
-
getPrevVersion
Get the previous version.- Returns:
- the previous version
-
getVersion
Get the version.- Returns:
- the version
-
toXML
- Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
from
public static MUCLightElements.AffiliationsChangeExtension from(org.jivesoftware.smack.packet.Message message)
-