messageHadler = new MessageHandlerEvent();
} else if (type.equalsIgnoreCase(MESSAGE_IMAGE)) {
message = new MessageImage();
messageHadler = new MessageHandlerImage();
} else if (type.equalsIgnoreCase(MESSAGE_LINK)) {
message = new MessageLink();
messageHadler = new MessageHandlerLink();
} else if (type.equalsIgnoreCase(MESSAGE_LOCATION)) {
message = new MessageLocation();
messageHadler = new MessageHandlerLocation();
}