KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > web > talk > messaging > SendMailResponseMessage


1
2 package com.quikj.application.web.talk.messaging;
3
4 /**
5  *
6  * @author amit
7  */

8 public class SendMailResponseMessage implements TalkMessageInterface
9 {
10     public static final String JavaDoc MESSAGE_TYPE = "send_mail_response";
11     
12     private String JavaDoc errorMessage = "";
13     
14     public SendMailResponseMessage()
15     {
16     }
17     
18     public String JavaDoc format()
19     {
20         return "<?xml version=\"1.0\" encoding=\"us-ascii\"?>\n"
21         + "<send-mail/>\n";
22     }
23     
24     public String JavaDoc getErrorMessage()
25     {
26         return errorMessage;
27     }
28     
29     public String JavaDoc messageType()
30     {
31         return MESSAGE_TYPE;
32     }
33     
34     public boolean parse(Object JavaDoc node_object)
35     {
36         return true;
37     }
38 }
39
Popular Tags