Class PushNotificationsElements.RemoteDisablingExtension
- java.lang.Object
-
- org.jivesoftware.smackx.push_notifications.element.PushNotificationsElements.RemoteDisablingExtension
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- PushNotificationsElements
public static class PushNotificationsElements.RemoteDisablingExtension extends Object implements ExtensionElement
-
-
Constructor Summary
Constructors Constructor Description RemoteDisablingExtension(String node, Jid userJid)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PushNotificationsElements.RemoteDisablingExtension
from(Message message)
String
getElementName()
Returns the root element name.String
getNamespace()
Returns the root element XML namespace.String
getNode()
Get the node.Jid
getUserJid()
Get the user JID.CharSequence
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RemoteDisablingExtension
public RemoteDisablingExtension(String node, Jid userJid)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
getUserJid
public Jid getUserJid()
Get the user JID.- Returns:
- the user JID
-
toXML
public CharSequence toXML(XmlEnvironment enclosingNamespace)
-
from
public static PushNotificationsElements.RemoteDisablingExtension from(Message message)
-
-