public boolean containsFunction(String ns, String name) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsFunction(ns, name)) { return true; } } return false; }
public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsTagHandler(ns, localName)) { return this.libraries[i].createTagHandler(ns, localName, tag); } } return null; }
public boolean containsTagHandler(String ns, String localName) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsTagHandler(ns, localName)) { return true; } } return false; }
public Method createFunction(String ns, String name) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsFunction(ns, name)) { return this.libraries[i].createFunction(ns, name); } } return null; } }
public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException { if (containsNamespace(ns)) { TagHandlerFactory f = _factories.get(localName); if (f != null) { return f.createHandler(tag); } } return null; }
/** * Using no namespace, find the TagAttribute * * See #get(String, String) * @param localName tag attribute name * @return the TagAttribute found, otherwise null */ @Override public TagAttribute get(String localName) { return get("", localName); }
/** * Delegates to getObject with Object.class as a param * * @see #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return Object representation of this attribute's value */ public Object getObject(FaceletContext ctx) { return this.getObject(ctx, Object.class); }
public boolean containsNamespace(String ns) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsNamespace(ns)) { return true; } } return false; }
public void addHtmlComponent(String name, String componentType, String rendererType) { super.addComponent(name, componentType, rendererType, HtmlComponentHandler.class); }
public FaceletHandler createFaceletHandler() { return this.library.createTagHandler(this.namespace, this.name, this); }
public CompositeComponentResourceTagHandler(ComponentConfig config, Resource resource) { super(config); _resource = resource; _facetHandlers = TagHandlerUtils.findNextByType(nextHandler, javax.faces.view.facelets.FacetHandler.class, InsertFacetHandler.class); _componentHandlers = TagHandlerUtils.findNextByType(nextHandler, javax.faces.view.facelets.ComponentHandler.class, ComponentContainerHandler.class, TextHandler.class); _dynamicCompositeComponent = false; }
public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { return new UserTagHandler(cfg, this.location); } }
public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { return new LegacyUserTagHandler(cfg, this.location); } }
public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsTagHandler(ns, localName)) { return this.libraries[i].createTagHandler(ns, localName, tag); } } return null; }
public Method createFunction(String ns, String name) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsFunction(ns, name)) { return this.libraries[i].createFunction(ns, name); } } return null; } }
public boolean containsTagHandler(String ns, String localName) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsTagHandler(ns, localName)) { return true; } } return false; }
/** * Using no namespace, find the TagAttribute * * @see #get(String, String) * @param localName * tag attribute name * @return the TagAttribute found, otherwise null */ public TagAttribute get(String localName) { return get("", localName); }
/** * Delegates to getObject with Object.class as a param * * See #getObject(FaceletContext, Class) * @param ctx * FaceletContext to use * @return Object representation of this attribute's value */ public Object getObject(FaceletContext ctx) { return this.getObject(ctx, Object.class); }
public boolean containsNamespace(String ns) { for (int i = 0; i < this.libraries.length; i++) { if (this.libraries[i].containsNamespace(ns)) { return true; } } return false; }
public void addHtmlComponent(String name, String componentType, String rendererType) { super.addComponent(name, componentType, rendererType, HtmlComponentHandler.class); }