|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.zion.jbuddy.bots.BotContent
public class BotContent
Sends content to a user.
Content is sent in the form of a BotMessage
with type
IM
. Successive content for a particular message or event is
automatically combined into a single message before being sent.
Constructor Summary | |
---|---|
BotContent(RichContent body)
Creates content. |
|
BotContent(String xhtml)
Creates content, using the specified XHTML as its body. |
Method Summary | |
---|---|
Object |
clone()
Returns an exact copy of this call. |
RichContent |
getBody()
Returns this content's body. |
void |
setBody(RichContent body)
Sets this content's body. |
void |
setBody(String xhtml)
Sets this content's body, using the specified XHTML. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BotContent(RichContent body)
public BotContent(String xhtml)
For more information on the XHTML's format, consult the XML documentation included with the framework.
Method Detail |
---|
public RichContent getBody()
public void setBody(RichContent body)
public void setBody(String xhtml)
For more information on the XHTML's format, consult the XML documentation included with the framework.
public Object clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |