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.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.Jidjid
-
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 voidaddXml(org.jivesoftware.smack.util.XmlStringBuilder xml)org.jxmpp.jid.JidgetJid()-
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXML
-
-
-
-
Method Detail
-
getJid
public org.jxmpp.jid.Jid getJid()
-
addXml
protected void addXml(org.jivesoftware.smack.util.XmlStringBuilder xml)
- Overrides:
addXmlin classNodeExtension
-
-