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