Packageorg.igniterealtime.xiff.data.muc
Classpublic class MUCAdminExtension
InheritanceMUCAdminExtension Inheritance MUCBaseExtension Inheritance Extension Inheritance XMLStanza Inheritance ExtensionContainer
ImplementsIExtension

Implements the administration command data model in XEP-0045 for multi-user chat.

See also

http://xmpp.org/extensions/xep-0045.html


Public Properties
 PropertyDefined by
 Inherited_exts : Object
ExtensionContainer
 InheritedXMLData : XML
[static]
XMLStanza
 InheritedXMLFactory : XMLDocument
[static]
XMLStanza
Public Methods
 MethodDefined by
  
MUCAdminExtension(parent:XMLNode = null)
MUCAdminExtension
 Inherited
ExtensionContainer
 Inherited
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
 Inherited
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
XMLStanza
 Inherited
deserialize(node:XMLNode):Boolean
MUCBaseExtension
 Inherited
ensureNode(node:XMLNode, elementName:String):XMLNode
Ensures that a node with a specific element name exists in the stanza.
XMLStanza
 Inherited
exists(value:*):Boolean
[static] A helper method to determine if a value is both not null and not undefined.
XMLStanza
 Inherited
ExtensionContainer
 Inherited
getAllExtensionsByNS(ns:String):Array
ExtensionContainer
 Inherited
getAllItems():Array
Item interface to MUCItems if they are contained in this extension
MUCBaseExtension
  
getElementName():String
MUCAdminExtension
 Inherited
getExtension(name:String):Extension
ExtensionContainer
 Inherited
getNode():XMLNode
XMLStanza
  
getNS():String
MUCAdminExtension
 Inherited
remove():void
Removes the extension from its parent.
Extension
 Inherited
removeAllExtensions(ns:String):void
ExtensionContainer
 Inherited
Use this method to remove all items.
MUCBaseExtension
 Inherited
ExtensionContainer
 Inherited
replaceTextNode(parent:XMLNode, original:XMLNode, elementName:String, value:String):XMLNode
Replaces one node in the stanza with another simple text node.
XMLStanza
 Inherited
serialize(parent:XMLNode):Boolean
Called when this extension is being put back on the network.
MUCBaseExtension
 Inherited
setNode(node:XMLNode):Boolean
Sets the XML node that should be used for this stanza's internal XML representation.
XMLStanza
 Inherited
toString():String
Converts the extension stanza XML to a string.
Extension
Public Constants
 ConstantDefined by
  ELEMENT_NAME : String = "query"
[static]
MUCAdminExtension
  NS : String = "http://jabber.org/protocol/muc#admin"
[static]
MUCAdminExtension
Constructor detail
MUCAdminExtension()constructor
public function MUCAdminExtension(parent:XMLNode = null)Parameters
parent:XMLNode (default = null)
Method detail
getElementName()method
public function getElementName():String

Returns
String
getNS()method 
public function getNS():String

Returns
String
Constant detail
ELEMENT_NAMEconstant
public static const ELEMENT_NAME:String = "query"
NSconstant 
public static const NS:String = "http://jabber.org/protocol/muc#admin"