Package org.jivesoftware.smackx.pubsub
Class SubscribeExtension
java.lang.Object
org.jivesoftware.smackx.pubsub.NodeExtension
org.jivesoftware.smackx.pubsub.SubscribeExtension
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlElement,org.jivesoftware.smack.packet.XmlLangElement
Represents a request to subscribe to a node.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubscribeExtension(org.jxmpp.jid.Jid subscribeJid) SubscribeExtension(org.jxmpp.jid.Jid subscribeJid, String nodeId) -
Method Summary
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXMLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
jid
protected final org.jxmpp.jid.Jid jid
-
-
Constructor Details
-
SubscribeExtension
public SubscribeExtension(org.jxmpp.jid.Jid subscribeJid) -
SubscribeExtension
-
-
Method Details
-
getJid
public org.jxmpp.jid.Jid getJid() -
addXml
protected void addXml(org.jivesoftware.smack.util.XmlStringBuilder xml) - Overrides:
addXmlin classNodeExtension
-