public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { return new UserTagHandler(cfg, this.location); } }
/** * @param config */ public UserTagHandler(TagConfig config, URL location) { super(config); this.vars = this.tag.getAttributes().getAll(); this.location = location; Iterator itr = this.findNextByType(DefineHandler.class); if (itr.hasNext()) { handlers = new HashMap(); DefineHandler d = null; while (itr.hasNext()) { d = (DefineHandler) itr.next(); this.handlers.put(d.getName(), d); } } else { handlers = null; } }