Package org.jivesoftware.smackx.pubsub
Class UnsubscribeExtension
- java.lang.Object
-
- org.jivesoftware.smackx.pubsub.NodeExtension
-
- org.jivesoftware.smackx.pubsub.UnsubscribeExtension
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class UnsubscribeExtension extends NodeExtension
Represents an unsubscribe element.
-
-
Constructor Summary
Constructors Constructor Description UnsubscribeExtension(String subscriptionJid)
UnsubscribeExtension(String subscriptionJid, String nodeId)
UnsubscribeExtension(String jid, String nodeId, String subscriptionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addXml(XmlStringBuilder xml)
String
getId()
String
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
-
UnsubscribeExtension
public UnsubscribeExtension(String subscriptionJid)
-
UnsubscribeExtension
public UnsubscribeExtension(String subscriptionJid, String nodeId)
-
UnsubscribeExtension
public UnsubscribeExtension(String jid, String nodeId, String subscriptionId)
-
-
Method Detail
-
addXml
protected void addXml(XmlStringBuilder xml)
- Overrides:
addXml
in classNodeExtension
-
-