Class MUCLightElements.AffiliationsChangeExtension

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.FullyQualifiedElement, org.jivesoftware.smack.packet.NamedElement, 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  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static MUCLightElements.AffiliationsChangeExtension from​(org.jivesoftware.smack.packet.Message message)  
      java.util.HashMap<org.jxmpp.jid.Jid,​MUCLightAffiliation> getAffiliations()
      Get the affiliations.
      java.lang.String getElementName()  
      java.lang.String getNamespace()  
      java.lang.String getPrevVersion()
      Get the previous version.
      java.lang.String getVersion()
      Get the version.
      java.lang.CharSequence toXML​(org.jivesoftware.smack.packet.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.Element

        toXML, toXML
      • Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement

        getLanguage, getQName
    • 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.FullyQualifiedElement
      • 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