public class Unfriend extends Object implements ExtensionElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
Constructor and Description |
---|
Unfriend(org.jxmpp.jid.BareJid jid) |
Modifier and Type | Method and Description |
---|---|
static Unfriend |
from(Message message) |
String |
getElementName()
Returns the root element name.
|
org.jxmpp.jid.BareJid |
getJid() |
String |
getNamespace()
Returns the root element XML namespace.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final String NAMESPACE
public Unfriend(org.jxmpp.jid.BareJid jid)
public org.jxmpp.jid.BareJid getJid()
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element