public static class PushNotificationsElements.RemoteDisablingExtension extends Object implements ExtensionElement
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
| Constructor and Description |
|---|
RemoteDisablingExtension(String node,
Jid userJid) |
| Modifier and Type | Method and 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(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String NAMESPACE
public static final String ELEMENT
public RemoteDisablingExtension(String node, Jid userJid)
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic Jid getUserJid()
public CharSequence toXML(String enclosingNamespace)
Elementpublic static PushNotificationsElements.RemoteDisablingExtension from(Message message)