* .xstream.io.HierarchicalStreamReader,
* com.thoughtworks.xstream.converters.UnmarshallingContext)
*/
public Object unmarshal(HierarchicalStreamReader reader,
UnmarshallingContext context) {
Message message = new Message();
// System.out.println("MessageConverter : nodeName = " +
// reader.getNodeName());
message.setLang(reader.getAttribute("lang"));
// reader.moveDown();
String messageContent = reader.getValue();
// System.out.println("MessageConverter : content = " + messageContent);
message.setMessage(messageContent);
// reader.moveUp();
return message;
}