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