return null;
}
ResourceReference rr = getContentTypes();
try {
TemplateContainer types = (TemplateContainer) rr.lock();
Enumeration e = types.enumerateResourceIdentifiers(true);
String key = "*:*"; // if there is no better match...
int match = -1;
int cmatch;
while (e.hasMoreElements()) {
String ext_entry = (String)e.nextElement();