com.caucho.jsp
Class TaglibManager

java.lang.Object
  extended by com.caucho.jsp.TaglibManager

public class TaglibManager
extends java.lang.Object

Stores the entire information for a tag library.


Constructor Summary
TaglibManager(JspResourceManager resourceManager, WebApp webApp, TagFileManager tagFileManager)
           
 
Method Summary
 void addLocationMap(java.lang.String uri, java.lang.String location)
          Adds a URI to location map.
 void addTaglibFunctions(java.util.HashMap<java.lang.String,java.lang.reflect.Method> functionMap, java.lang.String prefix, java.lang.String uri)
          Returns the taglib with the given prefix and uri.
 Taglib getTaglib(java.lang.String prefix, java.lang.String uri, java.lang.String location)
          Returns the taglib with the given prefix and uri.
 Taglib getTaglibDir(java.lang.String prefix, java.lang.String dir)
          Returns the taglib with the given prefix and uri.
 void init()
          Loads all the .tld files in the WEB-INF and the META-INF for the entire classpath.
 void setTldDir(java.lang.String tldDir)
           
 void setTldFileSet(FileSetType fileSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaglibManager

public TaglibManager(JspResourceManager resourceManager,
                     WebApp webApp,
                     TagFileManager tagFileManager)
              throws JspParseException,
                     java.io.IOException
Throws:
JspParseException
java.io.IOException
Method Detail

setTldDir

public void setTldDir(java.lang.String tldDir)

setTldFileSet

public void setTldFileSet(FileSetType fileSet)

addLocationMap

public void addLocationMap(java.lang.String uri,
                           java.lang.String location)
Adds a URI to location map.


init

public void init()
          throws JspParseException,
                 java.io.IOException
Loads all the .tld files in the WEB-INF and the META-INF for the entire classpath.

Throws:
JspParseException
java.io.IOException

getTaglib

public Taglib getTaglib(java.lang.String prefix,
                        java.lang.String uri,
                        java.lang.String location)
                 throws JspParseException
Returns the taglib with the given prefix and uri.

Throws:
JspParseException

getTaglibDir

public Taglib getTaglibDir(java.lang.String prefix,
                           java.lang.String dir)
                    throws JspParseException
Returns the taglib with the given prefix and uri.

Throws:
JspParseException

addTaglibFunctions

public void addTaglibFunctions(java.util.HashMap<java.lang.String,java.lang.reflect.Method> functionMap,
                               java.lang.String prefix,
                               java.lang.String uri)
                        throws JspParseException
Returns the taglib with the given prefix and uri.

Throws:
JspParseException