|
Smack | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smackx.XHTMLManager
Manages XHTML formatted texts within messages. A XHTMLManager provides a high level access to get and set XHTML bodies to messages, enable and disable XHTML support and check if remote XMPP clients support XHTML.
Constructor Summary | |
XHTMLManager()
|
Method Summary | |
static void |
addBody(Message message,
String body)
Adds an XHTML body to the message. |
static Iterator |
getBodies(Message message)
Returns an Iterator for the XHTML bodies in the message. |
static boolean |
isXHTMLMessage(Message message)
Returns true if the message contains an XHTML extension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XHTMLManager()
Method Detail |
public static Iterator getBodies(Message message)
message
- an XHTML message
public static void addBody(Message message, String body)
message
- the message that will receive the XHTML bodybody
- the string to add as an XHTML body to the messagepublic static boolean isXHTMLMessage(Message message)
message
- the message to check if contains an XHTML extentsion or not
|
Smack | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |