Package org.jivesoftware.smackx.pubsub
Class SubscribeExtension
- java.lang.Object
-
- org.jivesoftware.smackx.pubsub.NodeExtension
-
- org.jivesoftware.smackx.pubsub.SubscribeExtension
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class SubscribeExtension extends NodeExtension
Represents a request to subscribe to a node.
-
-
Constructor Summary
Constructors Constructor Description SubscribeExtension(Jid subscribeJid)
SubscribeExtension(Jid subscribeJid, String nodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addXml(XmlStringBuilder xml)
Jid
getJid()
-
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeExtension
getElementName, getNamespace, getNode, getPubSubNamespace, toString, toXML
-
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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Constructor Detail
-
SubscribeExtension
public SubscribeExtension(Jid subscribeJid)
-
SubscribeExtension
public SubscribeExtension(Jid subscribeJid, String nodeId)
-
-
Method Detail
-
addXml
protected void addXml(XmlStringBuilder xml)
- Overrides:
addXml
in classNodeExtension
-
-