String[] dim = tagName.split(":");
// get URI from prefix
String uri = info.getTaglibUri(dim[0]);
// get converter
ICustomTagConverter converter = null;
if (uri != null) {
ICustomTagConverterContributer contributer = HTMLPlugin.getDefault().getCustomTagContributer(uri);
if (contributer != null) {
converter = contributer.getConverter(dim[1]);
}
}
if (converter != null) {
HashMap<String, String> attrMap = new HashMap<String, String>();
FuzzyXMLAttribute[] attrs = element.getAttributes();
for (int i = 0; i < attrs.length; i++) {
attrMap.put(attrs[i].getName(), attrs[i].getValue());
}
sb.append(converter.process(attrMap, element.getChildren(), info));
return sb.toString();
}
}
if (element.getChildren().length == 0) {