| Package | org.igniterealtime.xiff.data.bind |
| Class | public class BindExtension |
| Inheritance | BindExtension Extension XMLStanza ExtensionContainer |
| Implements | IExtension |
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | _exts : Object | ExtensionContainer | |
| jid : EscapedJID
[read-only]
| BindExtension | ||
| resource : String | BindExtension | ||
![]() | XMLData : XML [static]
| XMLStanza | |
![]() | XMLFactory : XMLDocument [static]
| XMLStanza | |
| Method | Defined by | ||
|---|---|---|---|
|
BindExtension(parent:XMLNode = null)
| BindExtension | ||
![]() | ExtensionContainer | ||
![]() |
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
| XMLStanza | |
|
deserialize(node:XMLNode):Boolean
| BindExtension | ||
|
enable():void
[static]
Registers this extension with the extension registry.
| BindExtension | ||
![]() |
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
| BindExtension | ||
![]() |
getExtension(name:String):Extension
| ExtensionContainer | |
![]() |
getNode():XMLNode
| XMLStanza | |
|
getNS():String
| BindExtension | ||
![]() |
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
| BindExtension | ||
![]() |
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 = "bind" [static]
| BindExtension | ||
| NS : String = "urn:ietf:params:xml:ns:xmpp-bind" [static]
| BindExtension | ||
| jid | property |
| resource | property |
resource:String [read-write]Implementation
public function get resource():String
public function set resource(value:String):void
| BindExtension | () | constructor |
public function BindExtension(parent:XMLNode = null)Parameters
parent:XMLNode (default = null) |
| deserialize | () | method |
public function deserialize(node:XMLNode):BooleanParameters
node:XMLNode |
Boolean |
| enable | () | method |
public static function enable():voidRegisters this extension with the extension registry.
| getElementName | () | method |
public function getElementName():String
Returns
String |
| getNS | () | method |
public function getNS():String
Returns
String |
| serialize | () | method |
public function serialize(parent:XMLNode):BooleanParameters
parent:XMLNode |
Boolean |
| ELEMENT_NAME | constant |
public static const ELEMENT_NAME:String = "bind"
| NS | constant |
public static const NS:String = "urn:ietf:params:xml:ns:xmpp-bind"