fi.hut.tml.xsmiles.comm.implementation.general.messages
Class TextMessage

java.lang.Object
  extended byfi.hut.tml.xsmiles.comm.implementation.general.messages.MessageBase
      extended byfi.hut.tml.xsmiles.comm.implementation.general.messages.TextMessage
All Implemented Interfaces:
Message

public class TextMessage
extends MessageBase

Author:
Sami Sundell xsmiles / fi.hut.tml.xsmiles.comm.implementation.general.messages, 9.11.2004

Constructor Summary
protected TextMessage()
           
 
Method Summary
 java.lang.Object getContent()
           
 java.lang.String getContentAsString()
           
 void setContent(java.lang.Object content)
           
 void setContentAsString(java.lang.String content)
           
 
Methods inherited from class fi.hut.tml.xsmiles.comm.implementation.general.messages.MessageBase
getNickname, getType, setNickname
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextMessage

protected TextMessage()
Method Detail

getContent

public java.lang.Object getContent()
Specified by:
getContent in interface Message
Specified by:
getContent in class MessageBase

getContentAsString

public java.lang.String getContentAsString()
Specified by:
getContentAsString in interface Message
Specified by:
getContentAsString in class MessageBase

setContent

public void setContent(java.lang.Object content)
Specified by:
setContent in interface Message
Specified by:
setContent in class MessageBase

setContentAsString

public void setContentAsString(java.lang.String content)
Specified by:
setContentAsString in interface Message
Specified by:
setContentAsString in class MessageBase


X-Smiles 1.2