Class MUCLightElements.AffiliationsChangeExtension

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement
    Enclosing class:
    MUCLightElements

    public static class MUCLightElements.AffiliationsChangeExtension
    extends java.lang.Object
    implements org.jivesoftware.smack.packet.ExtensionElement
    Affiliations change extension element class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ELEMENT  
      static java.lang.String NAMESPACE  
      static javax.xml.namespace.QName QNAME  
    • Field Detail

      • QNAME

        public static final javax.xml.namespace.QName QNAME
    • Constructor Detail

      • AffiliationsChangeExtension

        public AffiliationsChangeExtension​(java.util.HashMap<org.jxmpp.jid.Jid,​MUCLightAffiliation> affiliations,
                                           java.lang.String prevVersion,
                                           java.lang.String version)
    • Method Detail

      • getElementName

        public java.lang.String getElementName()
        Specified by:
        getElementName in interface org.jivesoftware.smack.packet.NamedElement
      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.jivesoftware.smack.packet.XmlElement
      • getAffiliations

        public java.util.HashMap<org.jxmpp.jid.Jid,​MUCLightAffiliation> getAffiliations()
        Get the affiliations.
        Returns:
        the affiliations
      • getPrevVersion

        public java.lang.String getPrevVersion()
        Get the previous version.
        Returns:
        the previous version
      • getVersion

        public java.lang.String getVersion()
        Get the version.
        Returns:
        the version
      • toXML

        public java.lang.CharSequence toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
        Specified by:
        toXML in interface org.jivesoftware.smack.packet.Element