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