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.AffiliationsChangeExtension
from(Message message)
HashMap<Jid,MUCLightAffiliation>
getAffiliations()
Get the affiliations.String
getElementName()
Returns the root element name.String
getNamespace()
Returns the root element XML namespace.String
getPrevVersion()
Get the previous version.String
getVersion()
Get the version.CharSequence
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, 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:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in 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)
-
-