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(String enclosingNamespace)
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()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public HashMap<org.jxmpp.jid.Jid,MUCLightAffiliation> getAffiliations()
public String getPrevVersion()
public String getVersion()
public CharSequence toXML(String enclosingNamespace)
Element
public static MUCLightElements.AffiliationsChangeExtension from(Message message)