| Package | org.igniterealtime.xiff.data.muc |
| Class | public class MUCAdminExtension |
| Inheritance | MUCAdminExtension MUCBaseExtension Extension XMLStanza ExtensionContainer |
| Implements | IExtension |
See also
| Method | Defined by | ||
|---|---|---|---|
|
MUCAdminExtension(parent:XMLNode = null)
| MUCAdminExtension | ||
![]() | ExtensionContainer | ||
![]() |
addItem(affiliation:String = null, role:String = null, nick:String = null, jid:EscapedJID = null, actor:String = null, reason:String = null):MUCItem
Use this method to create a new item.
| MUCBaseExtension | |
![]() |
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
| XMLStanza | |
![]() |
deserialize(node:XMLNode):Boolean
| MUCBaseExtension | |
![]() |
ensureNode(node:XMLNode, elementName:String):XMLNode
Ensures that a node with a specific element name exists in the stanza.
| XMLStanza | |
![]() |
exists(value:*):Boolean
[static]
A helper method to determine if a value is both not null
and not undefined.
| XMLStanza | |
![]() |
getAllExtensions():Array
| ExtensionContainer | |
![]() |
getAllExtensionsByNS(ns:String):Array
| ExtensionContainer | |
![]() |
getAllItems():Array
Item interface to MUCItems if they are contained in this extension
| MUCBaseExtension | |
|
getElementName():String
| MUCAdminExtension | ||
![]() |
getExtension(name:String):Extension
| ExtensionContainer | |
![]() |
getNode():XMLNode
| XMLStanza | |
|
getNS():String
| MUCAdminExtension | ||
![]() |
remove():void
Removes the extension from its parent.
| Extension | |
![]() |
removeAllExtensions(ns:String):void
| ExtensionContainer | |
![]() |
removeAllItems():void
Use this method to remove all items.
| MUCBaseExtension | |
![]() |
removeExtension(ext:IExtension):Boolean
| ExtensionContainer | |
![]() |
replaceTextNode(parent:XMLNode, original:XMLNode, elementName:String, value:String):XMLNode
Replaces one node in the stanza with another simple text node.
| XMLStanza | |
![]() |
serialize(parent:XMLNode):Boolean
Called when this extension is being put back on the network.
| MUCBaseExtension | |
![]() |
setNode(node:XMLNode):Boolean
Sets the XML node that should be used for this stanza's internal XML representation.
| XMLStanza | |
![]() |
toString():String
Converts the extension stanza XML to a string.
| Extension | |
| Constant | Defined by | ||
|---|---|---|---|
| ELEMENT_NAME : String = "query" [static]
| MUCAdminExtension | ||
| NS : String = "http://jabber.org/protocol/muc#admin" [static]
| MUCAdminExtension | ||
| MUCAdminExtension | () | constructor |
public function MUCAdminExtension(parent:XMLNode = null)Parameters
parent:XMLNode (default = null) |
| getElementName | () | method |
public function getElementName():String
Returns
String |
| getNS | () | method |
public function getNS():String
Returns
String |
| ELEMENT_NAME | constant |
public static const ELEMENT_NAME:String = "query"
| NS | constant |
public static const NS:String = "http://jabber.org/protocol/muc#admin"