Package | org.igniterealtime.xiff.data.session |
Class | public class SessionExtension |
Inheritance | SessionExtension ![]() ![]() ![]() |
Implements | IExtension |
See also
Method | Defined by | ||
---|---|---|---|
SessionExtension(parent:XMLNode = null)
| SessionExtension | ||
![]() | ExtensionContainer | ||
![]() |
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
| XMLStanza | |
deserialize(node:XMLNode):Boolean
| SessionExtension | ||
enable():void
[static]
Registers this extension with the extension registry.
| SessionExtension | ||
![]() |
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
| SessionExtension | ||
![]() |
getExtension(name:String):Extension
| ExtensionContainer | |
getJID():String
| SessionExtension | ||
![]() |
getNode():XMLNode
| XMLStanza | |
getNS():String
| SessionExtension | ||
![]() |
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(parent:XMLNode):Boolean
| SessionExtension | ||
![]() |
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 = "session" [static]
| SessionExtension | ||
NS : String = "urn:ietf:params:xml:ns:xmpp-session" [static]
| SessionExtension |
SessionExtension | () | constructor |
public function SessionExtension(parent:XMLNode = null)
Parameters
parent:XMLNode (default = null )
|
deserialize | () | method |
public function deserialize(node:XMLNode):Boolean
Parameters
node:XMLNode |
Boolean |
enable | () | method |
public static function enable():void
Registers this extension with the extension registry.
getElementName | () | method |
public function getElementName():String
Returns
String |
getJID | () | method |
public function getJID():String
Returns
String |
getNS | () | method |
public function getNS():String
Returns
String |
serialize | () | method |
public function serialize(parent:XMLNode):Boolean
Parameters
parent:XMLNode |
Boolean |
ELEMENT_NAME | constant |
public static const ELEMENT_NAME:String = "session"
NS | constant |
public static const NS:String = "urn:ietf:params:xml:ns:xmpp-session"