EventParser parser = ParserFactory.getParserInstance(list, event, true);
// Retrieve the event from cache and pass its data
// to the parser.
EventCache cache = new EventCache();
String uid = event.getString(Event.UID, 0);
parser.setCacheData(cache.get(uid));
// Format the event.
String data = parser.toString(event);
return data;