KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > providers > NullPayload


1 /*
2  * $Id: NullPayload.java 3167 2006-09-22 15:47:04Z holger $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.providers;
12
13 import java.io.Serializable JavaDoc;
14
15 /**
16  * <code>NullPayload</code> represents a null event payload
17  *
18  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
19  * @version $Revision: 3167 $
20  */

21
22 public class NullPayload implements Serializable JavaDoc
23 {
24     /**
25      * Serial version
26      */

27     private static final long serialVersionUID = -3406355970240721084L;
28
29     public boolean equals(Object JavaDoc obj)
30     {
31         return obj instanceof NullPayload;
32     }
33
34     public String JavaDoc toString()
35     {
36         return "{NullPayload}";
37     }
38
39 }
40
Popular Tags