org.jivesoftware.xiff.data.xhtml
class XHTMLExtension
Object
|
+--org.jivesoftware.xiff.data.XMLStanza
|
+--org.jivesoftware.xiff.data.Extension
|
+--org.jivesoftware.xiff.data.xhtml.XHTMLExtension
Implemented Interfaces: IExtensionclass XHTMLExtension extends Extension
This class provides an extension for XHTML body text in messages.
- Author:Sean Treadway
- Since:2.0.0
Fields inherited from class org.jivesoftware.xiff.data.XMLStanza
Property Summary
The XHTML body text. Valid XHTML is REQUIRED. Because XMPP operates using valid XML, standard HTML, which is not necessarily XML-parser compliant, will not work.
Method Summary
Performs the registration of this extension into the extension registry.
Gets the element name associated with this extension. The element for this extension is "html".
Gets the namespace associated with this extension. The namespace for the XHTMLExtension is "http://www.w3.org/1999/xhtml".
Methods inherited from class org.jivesoftware.xiff.data.XMLStanza
Field Documentation
Property Documentation
body
public body: String (read, write)
The XHTML body text. Valid XHTML is REQUIRED. Because XMPP operates using valid XML, standard HTML, which is not necessarily XML-parser compliant, will not work.
Constructor Documentation
Method Documentation
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 "html".
- 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 XHTMLExtension is "http://www.w3.org/1999/xhtml".
- Specified by:getNS in interface org.jivesoftware.xiff.data.IExtension
- Returns:The namespace
- XHTMLExtension.as, Last Modified: 3/10/2005 10:14:12 PM