public final class MucOwner extends Object
<query/> element in the http://jabber.org/protocol/muc#owner namespace.| Constructor and Description |
|---|
MucOwner()
Creates an empty query element.
|
MucOwner(DataForm dataForm)
Creates a query element with a configuration form.
|
| Modifier and Type | Method and Description |
|---|---|
DataForm |
getConfigurationForm()
Gets the configuration form.
|
Destroy |
getDestroy()
Gets the destroy element.
|
static MucOwner |
withDestroy(Jid jid,
String reason)
Creates a
<query/> element with a <destroy/> child element. |
public MucOwner()
public MucOwner(DataForm dataForm)
dataForm - The configuration form.public static MucOwner withDestroy(Jid jid, String reason)
<query/> element with a <destroy/> child element.
Sample:
<query xmlns='http://jabber.org/protocol/muc#owner'>
<destroy jid='coven@chat.shakespeare.lit'>
<reason>Macbeth doth come.</reason>
</destroy>
</query>
jid - The JID.reason - The reason.MucOwner instance.public DataForm getConfigurationForm()
public Destroy getDestroy()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.