Object o = prefixResolvers.get(prefix); TagLibraryResolver resolver = (TagLibraryResolver) o; if (resolver != null) tagLibrary = resolver.resolve(uri.substring(colon + 1));
Object o = uriMap.get(prefix); if (o instanceof TagLibraryResolver) { String suffix = uri.substring(colon + 1); tagLibrary = ((TagLibraryResolver) o).resolve(suffix); }
    TagLibrary findTagLibrary(String uri) {        TagLibrary tagLibrary = null;        int colon;        if (uri.length() == 0 && defaultNamespaceUri != null)            uri = defaultNamespaceUri;        colon = uri.indexOf(':');        if (colon != -1) {            String prefix = uri.substring(0, colon);            Object o = prefixResolvers.get(prefix);            TagLibraryResolver resolver = (TagLibraryResolver) o;            if (resolver != null)                tagLibrary = resolver.resolve(uri.substring(colon + 1));        }        if (tagLibrary == null) {            tagLibrary = fallbackResolver.resolve(uri);        }        return tagLibrary;    }