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();
}
messageHadler.parseMessage(message, root);// do the default/common parse!
}