Class EnablePushNotificationsIQ
- java.lang.Object
-
- org.jivesoftware.smack.packet.Stanza
-
- org.jivesoftware.smack.packet.IQ
-
- org.jivesoftware.smackx.push_notifications.element.EnablePushNotificationsIQ
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element
,org.jivesoftware.smack.packet.FullyQualifiedElement
,org.jivesoftware.smack.packet.IqView
,org.jivesoftware.smack.packet.NamedElement
,org.jivesoftware.smack.packet.StanzaView
,org.jivesoftware.smack.packet.TopLevelStreamElement
,org.jivesoftware.smack.packet.XmlLangElement
public class EnablePushNotificationsIQ extends org.jivesoftware.smack.packet.IQ
Enable Push Notifications IQ.- See Also:
- XEP-0357: Push Notifications
-
-
Constructor Summary
Constructors Constructor Description EnablePushNotificationsIQ(org.jxmpp.jid.Jid jid, java.lang.String node)
EnablePushNotificationsIQ(org.jxmpp.jid.Jid jid, java.lang.String node, java.util.HashMap<java.lang.String,java.lang.String> publishOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder
getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder xml)
org.jxmpp.jid.Jid
getJid()
Get the JID.java.lang.String
getNode()
Get the node.java.util.HashMap<java.lang.String,java.lang.String>
getPublishOptions()
Get the publish options.-
Methods inherited from class org.jivesoftware.smack.packet.IQ
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementQName, getChildElementXML, getElementName, getType, isRequestIQ, isResponseIQ, setType, toString, toXML
-
Methods inherited from class org.jivesoftware.smack.packet.Stanza
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtension, getExtensionElement, getExtensions, getExtensions, getExtensions, getExtensions, getExtensionsMap, getFrom, getLanguage, getNamespace, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setLanguage, setNewStanzaId, setStanzaId, setStanzaId, setTo, throwIfNoStanzaId
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
enable element.- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
the IQ NAMESPACE.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EnablePushNotificationsIQ
public EnablePushNotificationsIQ(org.jxmpp.jid.Jid jid, java.lang.String node, java.util.HashMap<java.lang.String,java.lang.String> publishOptions)
-
EnablePushNotificationsIQ
public EnablePushNotificationsIQ(org.jxmpp.jid.Jid jid, java.lang.String node)
-
-
Method Detail
-
getJid
public org.jxmpp.jid.Jid getJid()
Get the JID.- Returns:
- the JID
-
getNode
public java.lang.String getNode()
Get the node.- Returns:
- the node
-
getPublishOptions
public java.util.HashMap<java.lang.String,java.lang.String> getPublishOptions()
Get the publish options.- Returns:
- the publish options
-
getIQChildElementBuilder
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder xml)
- Specified by:
getIQChildElementBuilder
in classorg.jivesoftware.smack.packet.IQ
-
-