public boolean containsNamespace(String ns) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsNamespace(ns)) { return true; } } return false; }
private synchronized void initialize() { if (this.initialized) return; log.fine("Initializing"); try { TagLibraryConfig cfg = new TagLibraryConfig(); cfg.loadImplicit(this); if (!this.createTagLibrary().containsNamespace(UILibrary.Namespace)) { log.severe("Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar"); } } catch (IOException e) { log.log(Level.SEVERE, "Compiler Initialization Error", e); } finally { this.initialized = true; } log.fine("Initialization Successful"); }
for (int i = 0; i < attr.length; i++) { if (attr[i].getQName().startsWith("xmlns") && this.tagLibrary.containsNamespace(attr[i].getValue())) { remove |= 1 << i; if (log.isLoggable(Level.FINE)) {
} else if (this.tagLibrary.containsTagHandler(qname[0], qname[1])) { this.startUnit(new TagUnit(this.tagLibrary, qname[0], qname[1], t, this.nextTagId())); } else if (this.tagLibrary.containsNamespace(qname[0])) { throw new TagException(orig, "Tag Library supports namespace: "+qname[0]+", but no tag was defined for name: "+qname[1]); } else {