public class Destroy extends Object implements NamedElement, Serializable
Constructor and Description |
---|
Destroy(Destroy other) |
Destroy(org.jxmpp.jid.EntityBareJid alternativeJid,
String reason) |
Modifier and Type | Method and Description |
---|---|
Destroy |
clone() |
String |
getElementName()
Returns the root element name.
|
org.jxmpp.jid.EntityBareJid |
getJid()
Returns the JID of an alternate location since the current room is being destroyed.
|
String |
getReason()
Returns the reason for the room destruction.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public org.jxmpp.jid.EntityBareJid getJid()
public String getReason()
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public String getElementName()
NamedElement
getElementName
in interface NamedElement