Package | org.igniterealtime.xiff.data.muc |
Class | public class MUCStatus |
Inheritance | MUCStatus ![]() ![]() ![]() |
Implements | INodeProxy |
Traditionally, Multi-User Chat [1] has used numerical status codes similar to those used in HTTP and SMTP. Numerical codes were deprecated in the core of XMPP by RFC 3920 [2] and are no longer even defined in the core schemas provided in RFC 6120 [3] (see also Error Condition Mappings [4]). In an effort to modernize the Multi-User Chat (MUC) protocol, this document defines an extensible format for status conditions in MUC.
See also
Property | Defined By | ||
---|---|---|---|
code : int
Property used to add or retrieve a status code describing the condition that occurs. | MUCStatus | ||
message : String
Property that contains some text with a description of a condition. | MUCStatus | ||
![]() | 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 | ||
---|---|---|---|
MUCStatus(parent:XML = null) | MUCStatus | ||
![]() |
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 = status [static] | MUCStatus | ||
![]() | FLASH_NS : Namespace [static]
| XMLStanza | |
NS : String = urn:xmpp:muc:conditions:1 [static]
Note that this namespace is for the message element
| MUCStatus | ||
![]() | STREAM_NS : Namespace [static]
| XMLStanza |
code | property |
code:int
Property used to add or retrieve a status code describing the condition that occurs.
public function get code():int
public function set code(value:int):void
See also
message | property |
message:String
Property that contains some text with a description of a condition.
One of the following values:
public function get message():String
public function set message(value:String):void
See also
MUCStatus | () | Constructor |
public function MUCStatus(parent:XML = null)
Parameters
parent:XML (default = null )
|
ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = status
NS | Constant |
public static const NS:String = urn:xmpp:muc:conditions:1
Note that this namespace is for the message element