// where a match is found render Plugin.
Iterator iter = mPagePlugins.keySet().iterator();
while (iter.hasNext()) {
String key = (String)iter.next();
if (entryPlugins.contains(key)) {
WeblogEntryPlugin pagePlugin = (WeblogEntryPlugin)mPagePlugins.get(key);
try {
ret = pagePlugin.render(entry.getPojo(), ret);
} catch (Throwable t) {
mLogger.error("ERROR from plugin: " + pagePlugin.getName(), t);
}
}
}
}
}