if (this.libraries[i].containsNamespace(ns, null)) {
return true;
}
}
// PENDING: this is a terribly inefficient impl. Needs refactoring.
LazyTagLibrary lazyLibraries [] = new LazyTagLibrary[2];
lazyLibraries[0] = new CompositeComponentTagLibrary(ns);
lazyLibraries[1] = new FacesComponentTagLibrary(ns);
LazyTagLibrary toTest = null;
for (int i = 0; i < lazyLibraries.length; i++) {
if (lazyLibraries[i].tagLibraryForNSExists(ns)) {
toTest = lazyLibraries[i];
break;
}