org.jivesoftware.xiff.data.whiteboard
class WhiteboardExtension
Object
|
+--org.jivesoftware.xiff.data.XMLStanza
|
+--org.jivesoftware.xiff.data.Extension
|
+--org.jivesoftware.xiff.data.whiteboard.WhiteboardExtension
Implemented Interfaces: IExtension, ISerializableclass WhiteboardExtension extends Extension
A message extension for whitboard exchange. This class is the base class for other extension classes such as Path All child whiteboard objects are contained and serialized by this class
- Author:Sean Treadway
- Since:2.0.0
Fields inherited from class org.jivesoftware.xiff.data.XMLStanza
Method Summary
Deserializes the WhiteboardExtension data.
Performs the registration of this extension into the extension registry.
Gets the element name associated with this extension. The element for this extension is "x".
Gets the namespace associated with this extension. The namespace for the WhiteboardExtension is "xiff:wb".
Serializes the WhiteboardExtension data to XML for sending.
Methods inherited from class org.jivesoftware.xiff.data.XMLStanza
Field Documentation
Property Documentation
Constructor Documentation
Method Documentation
deserialize
public function deserialize (
node: XMLNode): Boolean
Deserializes the WhiteboardExtension data.
- Specified by:deserialize in interface org.jivesoftware.xiff.data.ISerializable
- Parameters:
node The XML node associated this data - Returns:An indicator as to whether deserialization was successful
enable
public static function enable (
): Void
Performs the registration of this extension into the extension registry.
getElementName
public function getElementName (
): String
Gets the element name associated with this extension. The element for this extension is "x".
- Specified by:getElementName in interface org.jivesoftware.xiff.data.IExtension
- Returns:The element name
getNS
public function getNS (
): String
Gets the namespace associated with this extension. The namespace for the WhiteboardExtension is "xiff:wb".
- Specified by:getNS in interface org.jivesoftware.xiff.data.IExtension
- Returns:The namespace
serialize
public function serialize (
parent: XMLNode): Boolean
Serializes the WhiteboardExtension data to XML for sending.
- Specified by:serialize in interface org.jivesoftware.xiff.data.ISerializable
- Parameters:
parent The parent node that this extension should be serialized into - Returns:An indicator as to whether serialization was successful
- WhiteboardExtension.as, Last Modified: 3/10/2005 10:14:04 PM