Save This Page
Home » freemarker-2.3.13 » freemarker.ext.jsp » [javadoc | source]
freemarker.ext.jsp
public class: TaglibFactory [javadoc | source]
java.lang.Object
   freemarker.ext.jsp.TaglibFactory

All Implemented Interfaces:
    TemplateHashModel

A hash model associated with a servlet context that can load JSP tag libraries associated with that servlet context. An instance of this class is made available in the root data model of templates executed by freemarker.ext.servlet.FreemarkerServlet under key JspTaglibs. It can be added to custom servlets as well to enable JSP taglib integration in them as well.
Constructor:
 public TaglibFactory(ServletContext ctx) 
    Creates a new JSP taglib factory that will be used to load JSP taglibs for the web application represented by the passed servlet context.
    Parameters:
    ctx - the servlet context whose JSP tag libraries will this factory load.
Method from freemarker.ext.jsp.TaglibFactory Summary:
get,   isEmpty
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.ext.jsp.TaglibFactory Detail:
 public TemplateModel get(String uri) throws TemplateModelException 
    Retrieves a JSP tag library identified by an URI. The matching of the URI to a JSP taglib is done as described in the JSP 1.2 FCS specification.
 public boolean isEmpty() 
    Returns false.