public interface Chatlet extends Message
Modifier and Type | Method and Description |
---|---|
Chatlet |
alias(java.lang.String param)
After calling this method, replies to this chatlet
will go to the method annotated with @OnAlias
|
Comment |
createComment()
Creates a new comment that will go as a comment to this chatlet.
|
Reply |
createReply()
Creates a new reply that will go as a reply to this chatlet.
|
java.lang.String[] |
getAlias()
Get alias assigned to the chatlet.
|
java.lang.String |
getMetaInfo()
Method to get meta information with the chatlet that was added using setMetaInfo(String info).
|
java.lang.String |
raw() |
Chatlet |
setLocale(java.lang.String datelocale)
Method to set the locale in the chatlet.
|
Chatlet |
setLocale(java.lang.String datelocale,
java.lang.String dateformat)
Method to set the locale and the date format in the chatlet.
|
void |
setMetaInfo(java.lang.String info)
Method to add meta information with the chatlet.
|
void |
setXSLTForChatlet(java.lang.String xslt)
This method allows to set the xslt to be used for rendering the chatlet.
|
Reply createReply()
Comment createComment()
Chatlet alias(java.lang.String param)
java.lang.String[] getAlias()
java.lang.String raw()
void setXSLTForChatlet(java.lang.String xslt)
xslt
- void setMetaInfo(java.lang.String info)
info
- java.lang.String getMetaInfo()
Chatlet setLocale(java.lang.String datelocale)
datelocale
- StringChatlet setLocale(java.lang.String datelocale, java.lang.String dateformat)
datelocale
- dateformat
-