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()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public Jid getUserJid()
public CharSequence toXML(String enclosingNamespace)
Element
public static PushNotificationsElements.RemoteDisablingExtension from(Message message)