/** * @param tldLocation * The physical location of the TLD file * @param taglibUri * The URI used in templates to refer to the taglib (like {@code <%@ taglib uri="..." ... %>} in JSP). */ private TemplateHashModel loadTaglib(TldLocation tldLocation, String taglibUri) throws IOException, SAXException { if (LOG.isDebugEnabled()) { LOG.debug("Loading taglib for URI " + StringUtil.jQuoteNoXSS(taglibUri) + " from TLD location " + StringUtil.jQuoteNoXSS(tldLocation)); } final Taglib taglib = new Taglib(servletContext, tldLocation, objectWrapper); taglibs.put(taglibUri, taglib); tldLocations.remove(taglibUri); return taglib; }
/** * @param tldLocation * The physical location of the TLD file * @param taglibUri * The URI used in templates to refer to the taglib (like {@code <%@ taglib uri="..." ... %>} in JSP). */ private TemplateHashModel loadTaglib(TldLocation tldLocation, String taglibUri) throws IOException, SAXException { if (LOG.isDebugEnabled()) { LOG.debug("Loading taglib for URI " + StringUtil.jQuoteNoXSS(taglibUri) + " from TLD location " + StringUtil.jQuoteNoXSS(tldLocation)); } final Taglib taglib = new Taglib(servletContext, tldLocation, objectWrapper); taglibs.put(taglibUri, taglib); tldLocations.remove(taglibUri); return taglib; }
/** * @param tldLocation * The physical location of the TLD file * @param taglibUri * The URI used in templates to refer to the taglib (like {@code <%@ taglib uri="..." ... %>} in JSP). */ private TemplateHashModel loadTaglib(TldLocation tldLocation, String taglibUri) throws IOException, SAXException { if (LOG.isDebugEnabled()) { LOG.debug("Loading taglib for URI " + StringUtil.jQuoteNoXSS(taglibUri) + " from TLD location " + StringUtil.jQuoteNoXSS(tldLocation)); } final Taglib taglib = new Taglib(servletContext, tldLocation, objectWrapper); taglibs.put(taglibUri, taglib); tldLocations.remove(taglibUri); return taglib; }
Taglib(ServletContext ctx, TldLocation tldPath, ObjectWrapper wrapper) throws IOException, SAXException { tagsAndFunctions = parseToTagsAndFunctions(ctx, tldPath, wrapper); }
Taglib(ServletContext ctx, TldLocation tldPath, ObjectWrapper wrapper) throws IOException, SAXException { tagsAndFunctions = parseToTagsAndFunctions(ctx, tldPath, wrapper); }
Taglib(ServletContext ctx, TldPath tldPath, String uri) throws Exception { tags = loadTaglib(ctx, tldPath, uri); }
private TemplateModel loadTaglib(TldPath tldPath, String uri) throws Exception { if(logger.isDebugEnabled()) { logger.debug("Loading taglib " + StringUtil.jQuoteNoXSS(uri) + " from location " + StringUtil.jQuoteNoXSS(tldPath)); } final Taglib taglib = new Taglib(ctx, tldPath, uri); taglibs.put(uri, taglib); locations.remove(uri); return taglib; }
Taglib(ServletContext ctx, TldLocation tldPath, ObjectWrapper wrapper) throws IOException, SAXException { tagsAndFunctions = parseToTagsAndFunctions(ctx, tldPath, wrapper); }