Package | org.igniterealtime.xiff.data.disco |
Class | public class DiscoExtension |
Inheritance | DiscoExtension ![]() ![]() ![]() |
Implements | ISerializable |
Subclasses | InfoDiscoExtension, ItemDiscoExtension |
See also
Property | Defined by | ||
---|---|---|---|
![]() | _exts : Object | ExtensionContainer | |
_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 | ||
---|---|---|---|
DiscoExtension(xmlNode:XMLNode)
The name of the resource of the service queried if the resource
doesn't have a JID.
| DiscoExtension | ||
![]() | ExtensionContainer | ||
![]() |
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
| XMLStanza | |
deserialize(node:XMLNode):Boolean
| DiscoExtension | ||
![]() |
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 | |
![]() |
getExtension(name:String):Extension
| ExtensionContainer | |
![]() |
getNode():XMLNode
| XMLStanza | |
![]() |
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" [static]
| DiscoExtension |
_service | property |
public var _service:EscapedJID
service | property |
service:EscapedJID
[read-write]The service name of the discovery procedure
Implementation public function get service():EscapedJID
public function set service(value:EscapedJID):void
serviceNode | property |
serviceNode:String
[read-write]Implementation
public function get serviceNode():String
public function set serviceNode(value:String):void
DiscoExtension | () | constructor |
public function DiscoExtension(xmlNode:XMLNode)
The name of the resource of the service queried if the resource doesn't have a JID. For more information, see http://www.jabber.org/registrar/disco-nodes.html.
ParametersxmlNode:XMLNode |
deserialize | () | method |
public function deserialize(node:XMLNode):Boolean
Parameters
node:XMLNode |
Boolean |
serialize | () | method |
public function serialize(parentNode:XMLNode):Boolean
Parameters
parentNode:XMLNode |
Boolean |
ELEMENT_NAME | constant |
public static const ELEMENT_NAME:String = "query"
NS | constant |
public static const NS:String = "http://jabber.org/protocol/disco"