Packageorg.igniterealtime.xiff.data.muc
Classpublic class MUCItem
InheritanceMUCItem Inheritance XMLStanza Inheritance ExtensionContainer Inheritance Object
Implements INodeProxy

This class is used by the MUCExtension for internal representation of information pertaining to occupants in a multi-user conference room.

The information given inside Precense of a given room user

See also

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


Public Properties
 PropertyDefined By
  actor : EscapedJID
Optional.
MUCItem
  actorNick : String
Optional.
MUCItem
  affiliation : String
Can be one of the following: owner, admin, member, outcast, or none.
MUCItem
  jid : EscapedJID
MUCItem
  nick : String
The nickname of the conference occupant.
MUCItem
  reason : String
Rason given by the actor for the action that was made for the given item.
MUCItem
  role : String
Can be one of the following: moderator, participant, visitor, or none.
MUCItem
 Inheritedxml : XML
The XML node that should be used for this stanza's internal XML representation, base of the XMLStanza, XML element.
ExtensionContainer
Public Methods
 MethodDefined By
  
MUCItem(parent:XML = null)
MUCItem
 Inherited
Add extension to the list of the given namespace and insert to the XML element as a child.
ExtensionContainer
 Inherited
ExtensionContainer
 Inherited
getAllExtensionsByNS(nameSpace:String):Array
ExtensionContainer
 Inherited
getAttribute(name:String):String
Convinience method for getting element value from the XML.
XMLStanza
 Inherited
getChildAttribute(elem:String, name:String):String
Convinience method for getting child element attribute value from the XML.
XMLStanza
 Inherited
getChildField(elem:String, name:String):String
Convinience method for getting child element value from the XML.
XMLStanza
 Inherited
getExtension(elementName:String):IExtension
Get the extension having the given element name.
ExtensionContainer
 Inherited
getField(name:String):String
Convinience method for getting element value from the XML.
XMLStanza
 Inherited
removeAllExtensions(nameSpace:String):void
ExtensionContainer
 Inherited
removeExtension(extension:IExtension):Boolean
ExtensionContainer
 Inherited
removeFields(name:String):void
Helper method for removing all child elements that have the given name.
XMLStanza
 Inherited
setAttribute(name:String, value:String):void
Convinience method for setting a value to a element in the XML.
XMLStanza
 Inherited
setChildAttribute(elem:String, name:String, value:String):void
Convinience method for setting an attribute for a child element of the XML.
XMLStanza
 Inherited
setChildField(elem:String, name:String, value:String):void
Convinience method for setting a value for a child element of the XML.
XMLStanza
 Inherited
setField(name:String, value:String):void
Convinience method for setting a value to a element in the XML.
XMLStanza
 Inherited
toString():String
Converts the base stanza XML to a string.
XMLStanza
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NS : Namespace
[static] Default XML namespace.
XMLStanza
  ELEMENT_NAME : String = item
[static]
MUCItem
 InheritedFLASH_NS : Namespace
[static]
XMLStanza
 InheritedSTREAM_NS : Namespace
[static]
XMLStanza
Property Detail
actorproperty
actor:EscapedJID

Optional. JID of the room user or server that made changes to the given item. Most likely when kicking someone from a room.


Implementation
    public function get actor():EscapedJID
    public function set actor(value:EscapedJID):void

See also

actorNickproperty 
actorNick:String

Optional. Nickname of the room user or server that made changes to the given item. Most likely when kicking someone from a room.

This property was added to Version 1.25 (2012-02-08) of the specification.


Implementation
    public function get actorNick():String
    public function set actorNick(value:String):void

See also

affiliationproperty 
affiliation:String

Can be one of the following: owner, admin, member, outcast, or none.


Implementation
    public function get affiliation():String
    public function set affiliation(value:String):void
jidproperty 
jid:EscapedJID


Implementation
    public function get jid():EscapedJID
    public function set jid(value:EscapedJID):void
nickproperty 
nick:String

The nickname of the conference occupant.


Implementation
    public function get nick():String
    public function set nick(value:String):void
reasonproperty 
reason:String

Rason given by the actor for the action that was made for the given item. Most likely the reson why someone was kicked out from a room.


Implementation
    public function get reason():String
    public function set reason(value:String):void

See also

roleproperty 
role:String

Can be one of the following: moderator, participant, visitor, or none.


Implementation
    public function get role():String
    public function set role(value:String):void
Constructor Detail
MUCItem()Constructor
public function MUCItem(parent:XML = null)

Parameters
parent:XML (default = null)
Constant Detail
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = item