public static class MUCLightElements.AffiliationsChangeExtension extends Object implements ExtensionElement
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
| Constructor and Description |
|---|
AffiliationsChangeExtension(HashMap<org.jxmpp.jid.Jid,MUCLightAffiliation> affiliations,
String prevVersion,
String version) |
| Modifier and Type | Method and Description |
|---|---|
static MUCLightElements.AffiliationsChangeExtension |
from(Message message) |
HashMap<org.jxmpp.jid.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()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final String NAMESPACE
public AffiliationsChangeExtension(HashMap<org.jxmpp.jid.Jid,MUCLightAffiliation> affiliations, String prevVersion, String version)
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic HashMap<org.jxmpp.jid.Jid,MUCLightAffiliation> getAffiliations()
public String getPrevVersion()
public String getVersion()
public CharSequence toXML()
Elementpublic static MUCLightElements.AffiliationsChangeExtension from(Message message)