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: IExtension

class XHTMLExtension extends Extension
This class provides an extension for XHTML body text in messages.
  • Author:
    Sean Treadway
  • Since:
    2.0.0

Field Summary

public static ELEMENT: String
public static NS: String
Static class variables to be overridden in subclasses;
Fields inherited from class org.jivesoftware.xiff.data.XMLStanza

Property Summary

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

public XHTMLExtension ( parent: XMLNode)

Method Summary

public static enable ( ): Void
Performs the registration of this extension into the extension registry.
public getElementName ( ): String
Gets the element name associated with this extension. The element for this extension is "html".
public getNS ( ): String
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.Extension
Methods inherited from class org.jivesoftware.xiff.data.XMLStanza