| Package | org.igniterealtime.xiff.data.muc |
| Class | public class MUCItem |
| Inheritance | MUCItem XMLStanza ExtensionContainer Object |
| Implements | INodeProxy |
The information given inside Precense of a given room user
See also
| Property | Defined 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 | ||
![]() | xml : XML
The XML node that should be used for this stanza's internal XML representation,
base of the XMLStanza, XML element. | ExtensionContainer | |
| Method | Defined By | ||
|---|---|---|---|
MUCItem(parent:XML = null) | MUCItem | ||
![]() |
Add extension to the list of the given namespace and insert to the XML element as a child. | ExtensionContainer | |
![]() | getAllExtensions():Array | ExtensionContainer | |
![]() | getAllExtensionsByNS(nameSpace:String):Array | ExtensionContainer | |
![]() | getAttribute(name:String):String
Convinience method for getting element value from the XML. | XMLStanza | |
![]() | getChildAttribute(elem:String, name:String):String
Convinience method for getting child element attribute value from the XML. | XMLStanza | |
![]() | getChildField(elem:String, name:String):String
Convinience method for getting child element value from the XML. | XMLStanza | |
![]() | getExtension(elementName:String):IExtension
Get the extension having the given element name. | ExtensionContainer | |
![]() | getField(name:String):String
Convinience method for getting element value from the XML. | XMLStanza | |
![]() | removeAllExtensions(nameSpace:String):void | ExtensionContainer | |
![]() | removeExtension(extension:IExtension):Boolean | ExtensionContainer | |
![]() | removeFields(name:String):void
Helper method for removing all child elements that have the given name. | XMLStanza | |
![]() | setAttribute(name:String, value:String):void
Convinience method for setting a value to a element in the XML. | XMLStanza | |
![]() | setChildAttribute(elem:String, name:String, value:String):void
Convinience method for setting an attribute for a child element of the XML. | XMLStanza | |
![]() | setChildField(elem:String, name:String, value:String):void
Convinience method for setting a value for a child element of the XML. | XMLStanza | |
![]() | setField(name:String, value:String):void
Convinience method for setting a value to a element in the XML. | XMLStanza | |
![]() | toString():String
Converts the base stanza XML to a string. | XMLStanza | |
| Constant | Defined By | ||
|---|---|---|---|
![]() | DEFAULT_NS : Namespace [static]
Default XML namespace. | XMLStanza | |
| ELEMENT_NAME : String = item [static] | MUCItem | ||
![]() | FLASH_NS : Namespace [static]
| XMLStanza | |
![]() | STREAM_NS : Namespace [static]
| XMLStanza | |
| actor | property |
actor:EscapedJIDOptional. JID of the room user or server that made changes to the given item. Most likely when kicking someone from a room.
public function get actor():EscapedJID public function set actor(value:EscapedJID):voidSee also
| actorNick | property |
actorNick:StringOptional. 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.
public function get actorNick():String public function set actorNick(value:String):voidSee also
| affiliation | property |
affiliation:StringCan be one of the following: owner, admin, member, outcast, or none.
public function get affiliation():String public function set affiliation(value:String):void| jid | property |
jid:EscapedJID
public function get jid():EscapedJID public function set jid(value:EscapedJID):void| nick | property |
nick:StringThe nickname of the conference occupant.
public function get nick():String public function set nick(value:String):void| reason | property |
reason:StringRason 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.
public function get reason():String public function set reason(value:String):voidSee also
| role | property |
role:StringCan be one of the following: moderator, participant, visitor, or none.
public function get role():String public function set role(value:String):void| MUCItem | () | Constructor |
public function MUCItem(parent:XML = null)Parameters
parent:XML (default = null) |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = item