Class SubscribeExtension

  • 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

    public class SubscribeExtension
    extends NodeExtension
    Represents a request to subscribe to a node.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.jxmpp.jid.Jid jid  
    • Constructor Summary

      Constructors 
      Constructor Description
      SubscribeExtension​(org.jxmpp.jid.Jid subscribeJid)  
      SubscribeExtension​(org.jxmpp.jid.Jid subscribeJid, java.lang.String nodeId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addXml​(org.jivesoftware.smack.util.XmlStringBuilder xml)  
      org.jxmpp.jid.Jid getJid()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

      • jid

        protected final org.jxmpp.jid.Jid jid
    • Constructor Detail

      • SubscribeExtension

        public SubscribeExtension​(org.jxmpp.jid.Jid subscribeJid)
      • SubscribeExtension

        public SubscribeExtension​(org.jxmpp.jid.Jid subscribeJid,
                                  java.lang.String nodeId)
    • Method Detail

      • getJid

        public org.jxmpp.jid.Jid getJid()
      • addXml

        protected void addXml​(org.jivesoftware.smack.util.XmlStringBuilder xml)
        Overrides:
        addXml in class NodeExtension