com.caucho.jsp
Class ParseTagManager

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

public class ParseTagManager
extends java.lang.Object

Stores the information for the .tags


Constructor Summary
ParseTagManager(JspResourceManager resourceManager, TaglibManager taglibManager, TagFileManager tagFileManager)
           
 
Method Summary
 Taglib addTaglib(QName qname)
           
 Taglib addTaglib(java.lang.String prefix, java.lang.String uri)
          Lookup and add a taglib based on a prefix and uri
 Taglib addTaglib(java.lang.String prefix, java.lang.String uri, java.lang.String location)
          Adds a taglib.
 Taglib addTaglibDir(java.lang.String prefix, java.lang.String dir)
          Adds a taglib.
 AnalyzedTag analyzeTag(java.lang.Class cl)
          Analyzes the tag.
 JspParseException error(java.lang.String message)
           
 TagInfo getTag(QName qname)
          Returns the tag with the given qname.
 java.lang.Class getTagClass(QName qname)
          Returns the tag with the given qname.
 boolean hasTags()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseTagManager

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

analyzeTag

public AnalyzedTag analyzeTag(java.lang.Class cl)
Analyzes the tag.


getTag

public TagInfo getTag(QName qname)
               throws JspParseException
Returns the tag with the given qname.

Throws:
JspParseException

getTagClass

public java.lang.Class getTagClass(QName qname)
                            throws java.lang.Exception
Returns the tag with the given qname.

Throws:
java.lang.Exception

addTaglib

public Taglib addTaglib(QName qname)
                 throws JspParseException
Throws:
JspParseException

addTaglib

public Taglib addTaglib(java.lang.String prefix,
                        java.lang.String uri)
                 throws JspParseException
Lookup and add a taglib based on a prefix and uri

Throws:
JspParseException

addTaglibDir

public Taglib addTaglibDir(java.lang.String prefix,
                           java.lang.String dir)
                    throws JspParseException
Adds a taglib.

Throws:
JspParseException

addTaglib

public Taglib addTaglib(java.lang.String prefix,
                        java.lang.String uri,
                        java.lang.String location)
                 throws JspParseException
Adds a taglib.

Throws:
JspParseException

hasTags

public boolean hasTags()

error

public JspParseException error(java.lang.String message)