Package | org.igniterealtime.xiff.data.disco |
Class | public class InfoDiscoExtension |
Inheritance | InfoDiscoExtension ![]() ![]() ![]() ![]() |
Implements | IExtension |
See also
Property | Defined by | ||
---|---|---|---|
![]() | _exts : Object | ExtensionContainer | |
features : Array [read-only]
An array of namespaces this service supports for feature negotiation.
| InfoDiscoExtension | ||
identities : Array [read-only]
An array of objects that represent the identities of a resource discovered.
| InfoDiscoExtension | ||
![]() | _service : EscapedJID | DiscoExtension | |
![]() | service : EscapedJID
The service name of the discovery procedure
| DiscoExtension | |
![]() | serviceNode : String | DiscoExtension | |
![]() | XMLData : XML [static]
| XMLStanza | |
![]() | XMLFactory : XMLDocument [static]
| XMLStanza |
Method | Defined by | ||
---|---|---|---|
InfoDiscoExtension(xmlNode:XMLNode = null)
| InfoDiscoExtension | ||
![]() | ExtensionContainer | ||
![]() |
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
| XMLStanza | |
deserialize(node:XMLNode):Boolean
| InfoDiscoExtension | ||
enable():void
[static]
Performs the registration of this extension into the extension registry.
| InfoDiscoExtension | ||
![]() |
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 | |
getElementName():String
| InfoDiscoExtension | ||
![]() |
getExtension(name:String):Extension
| ExtensionContainer | |
![]() |
getNode():XMLNode
| XMLStanza | |
getNS():String
| InfoDiscoExtension | ||
![]() |
remove():void
Removes the extension from its parent.
| Extension | |
![]() |
removeAllExtensions(ns:String):void
| ExtensionContainer | |
![]() |
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(parentNode:XMLNode):Boolean
| DiscoExtension | |
![]() |
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]
| DiscoExtension | |
NS : String = "http://jabber.org/protocol/disco#info" [static]
| InfoDiscoExtension |
features | property |
features:Array
[read-only]An array of namespaces this service supports for feature negotiation.
Implementation public function get features():Array
identities | property |
identities:Array
[read-only]An array of objects that represent the identities of a resource discovered. For more information on categories, see http://www.jabber.org/registrar/disco-categories.html The objects in the array have the following possible attributes:
category
- a category of the kind of identitytype
- a path to a resource that can be discovered without a JIDname
- the friendly name of the identity public function get identities():Array
InfoDiscoExtension | () | constructor |
public function InfoDiscoExtension(xmlNode:XMLNode = null)
Parameters
xmlNode:XMLNode (default = null ) — (Optional) The XMLNode that contains this extension
|
See also
deserialize | () | method |
public override function deserialize(node:XMLNode):Boolean
Parameters
node:XMLNode |
Boolean |
enable | () | method |
public static function enable():void
Performs the registration of this extension into the extension registry.
getElementName | () | method |
public function getElementName():String
Returns
String |
getNS | () | method |
public function getNS():String
Returns
String |
NS | constant |
public static const NS:String = "http://jabber.org/protocol/disco#info"