Class MUCLightElements.AffiliationsChangeExtension
java.lang.Object
org.jivesoftware.smackx.muclight.element.MUCLightElements.AffiliationsChangeExtension
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
- Enclosing class:
- MUCLightElements
public static class MUCLightElements.AffiliationsChangeExtension
extends Object
implements ExtensionElement
Affiliations change extension element class.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAffiliationsChangeExtension
(Map<Jid, MUCLightAffiliation> affiliations, String prevVersion, String version) -
Method Summary
Modifier and TypeMethodDescriptionGet the affiliations.Returns the root element name.Returns the root element XML namespace.Get the previous version.Get the version.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.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
QNAME
-
-
Constructor Details
-
AffiliationsChangeExtension
public AffiliationsChangeExtension(Map<Jid, MUCLightAffiliation> affiliations, String prevVersion, String version)
-
-
Method Details
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getAffiliations
Get the affiliations.- Returns:
- the affiliations
-
getPrevVersion
Get the previous version.- Returns:
- the previous version
-
getVersion
Get the version.- Returns:
- the version
-
toXML
-
from
-