Class MUCLightElements.AffiliationsChangeExtension
- java.lang.Object
-
- org.jivesoftware.smackx.muclight.element.MUCLightElements.AffiliationsChangeExtension
-
- All Implemented Interfaces:
Element,ExtensionElement,FullyQualifiedElement,NamedElement,XmlLangElement
- Enclosing class:
- MUCLightElements
public static class MUCLightElements.AffiliationsChangeExtension extends Object implements ExtensionElement
Affiliations change extension element class.
-
-
Constructor Summary
Constructors Constructor Description AffiliationsChangeExtension(HashMap<Jid,MUCLightAffiliation> affiliations, String prevVersion, String version)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MUCLightElements.AffiliationsChangeExtensionfrom(Message message)HashMap<Jid,MUCLightAffiliation>getAffiliations()Get the affiliations.StringgetElementName()Returns the root element name.StringgetNamespace()Returns the root element XML namespace.StringgetPrevVersion()Get the previous version.StringgetVersion()Get the version.CharSequencetoXML(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, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AffiliationsChangeExtension
public AffiliationsChangeExtension(HashMap<Jid,MUCLightAffiliation> affiliations, String prevVersion, String version)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
getAffiliations
public HashMap<Jid,MUCLightAffiliation> getAffiliations()
Get the affiliations.- Returns:
- the affiliations
-
getPrevVersion
public String getPrevVersion()
Get the previous version.- Returns:
- the previous version
-
getVersion
public String getVersion()
Get the version.- Returns:
- the version
-
toXML
public CharSequence toXML(XmlEnvironment enclosingNamespace)
-
from
public static MUCLightElements.AffiliationsChangeExtension from(Message message)
-
-