Package | org.igniterealtime.xiff.data.vcard |
Class | public class VCardExtension |
Inheritance | VCardExtension ![]() ![]() ![]() |
Implements | IExtension |
See also
Method | Defined by | ||
---|---|---|---|
![]() | ExtensionContainer | ||
![]() |
addTextNode(parent:XMLNode, elementName:String, value:String):XMLNode
Adds a simple text node to the parent node specified.
| XMLStanza | |
deserialize(node:XMLNode):Boolean
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
| VCardExtension | ||
![]() |
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
| VCardExtension | ||
![]() |
getExtension(name:String):Extension
| ExtensionContainer | |
![]() |
getNode():XMLNode
| XMLStanza | |
getNS():String
| VCardExtension | ||
![]() |
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
Called when the library need to retrieve the state of the instance.
| VCardExtension | ||
![]() |
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 |
deserialize | () | method |
public function deserialize(node:XMLNode):Boolean
Called when data is retrieved from the XMLSocket, use this method to extract any state into internal state.
Parametersnode:XMLNode — (XMLNode) The node that should be used as the data container.
|
Boolean — On success, return true.
|
getElementName | () | method |
public function getElementName():String
Returns
String |
getNS | () | method |
public function getNS():String
Returns
String |
serialize | () | method |
public function serialize(parentNode:XMLNode):Boolean
Called when the library need to retrieve the state of the instance. If the instance manages its own state, then the state should be copied into the XMLNode passed. If the instance also implements INodeProxy, then the parent should be verified against the parent XMLNode passed to determine if the serialization is in the same namespace.
ParametersparentNode:XMLNode — (XMLNode) The container of the XML.
|
Boolean — On success, return true.
|