com.caucho.jsp.cfg
Class TldTaglib

java.lang.Object
  extended by com.caucho.jsp.cfg.TldTaglib
All Implemented Interfaces:
DependencyBean

public class TldTaglib
extends java.lang.Object
implements DependencyBean

Configuration for the taglib in the .tld


Constructor Summary
TldTaglib()
           
 
Method Summary
 void addDependency(PersistentDependency depend)
          Adds a dependency.
 void addFunction(TldFunction function)
          Adds a function
 void addJsfTag(JsfTag tag)
          Adds a jsf tag.
 void addListener(TldListener listener)
          Adds a listener
 void addTag(TldTag tag)
          Adds a tag
 void addTagFile(TldTagFile tagFile)
          Adds a tag-file
 TldTag createTag()
          Creates a new tag instance
 java.lang.Throwable getConfigException()
          Gets any configuration exception
 java.lang.String getDescription()
          Gets the description
 java.lang.String getDisplayName()
          Gets the display-name
 java.util.ArrayList<TldFunction> getFunctionList()
          Returns the list of functions.
 java.lang.String getInfo()
          Gets the info string.
 Path getJarPath()
          Gets the jar path.
 java.lang.String getJspVersion()
          Gets the jsp version.
 java.lang.String getLargeIcon()
          Gets the large-icon
 java.lang.String getShortName()
          Gets the short name (prefix)
 java.lang.String getSmallIcon()
          Gets the small-icon
 java.util.ArrayList<TldTagFile> getTagFileList()
          Returns the list of tag files.
 java.util.ArrayList<TldTag> getTagList()
          Returns the list of tags.
 java.lang.String getTlibVersion()
          Gets the taglib version.
 java.lang.String getURI()
          Gets the uri
 TldValidator getValidator()
          Gets the validator
 void initListeners(WebApp app)
          Applies the listeners.
 boolean isModified()
          Checks for modification.
 void mergeJsf(TldTaglib jsfTaglib)
           
 void setConfigException(java.lang.Throwable e)
          Sets any configuration exception
 void setDescription(java.lang.String description)
          Sets the description
 void setDisplayName(java.lang.String displayName)
          Sets the display-name
 void setIcon(Icon icon)
          Sets the icon.
 void setInfo(java.lang.String info)
          Sets the info string
 void setJarPath(Path path)
          Sets the jar path.
 void setJspversion(java.lang.String jspVersion)
          Sets the JSP version (backwards compat).
 void setJspVersion(java.lang.String jspVersion)
          Sets the JSP version.
 void setLargeIcon(java.lang.String largeIcon)
          Sets the large-icon
 void setSchemaLocation(java.lang.String location)
          Sets the schema location.
 void setShortname(java.lang.String shortName)
          Sets the short name (backwards compat)
 void setShortName(java.lang.String shortName)
          Sets the short name (prefix)
 void setSmallIcon(java.lang.String smallIcon)
          Sets the small-icon
 void setTlibversion(java.lang.String tlibVersion)
          Sets the taglib version (backwards compat).
 void setTlibVersion(java.lang.String tlibVersion)
          Sets the taglib version.
 void setURI(java.lang.String uri)
          Sets the uri
 void setValidator(TldValidator validator)
          Sets the validator
 void setVersion(java.lang.String version)
          Sets the tld version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TldTaglib

public TldTaglib()
Method Detail

addDependency

public void addDependency(PersistentDependency depend)
Adds a dependency.

Specified by:
addDependency in interface DependencyBean

setVersion

public void setVersion(java.lang.String version)
Sets the tld version.


setSchemaLocation

public void setSchemaLocation(java.lang.String location)
Sets the schema location.


setIcon

public void setIcon(Icon icon)
Sets the icon.


setTlibVersion

public void setTlibVersion(java.lang.String tlibVersion)
Sets the taglib version.


setTlibversion

public void setTlibversion(java.lang.String tlibVersion)
Sets the taglib version (backwards compat).


getTlibVersion

public java.lang.String getTlibVersion()
Gets the taglib version.


setJspVersion

public void setJspVersion(java.lang.String jspVersion)
Sets the JSP version.


setJspversion

public void setJspversion(java.lang.String jspVersion)
Sets the JSP version (backwards compat).


getJspVersion

public java.lang.String getJspVersion()
Gets the jsp version.


setInfo

public void setInfo(java.lang.String info)
Sets the info string


getInfo

public java.lang.String getInfo()
Gets the info string.


setShortName

public void setShortName(java.lang.String shortName)
Sets the short name (prefix)


setShortname

public void setShortname(java.lang.String shortName)
Sets the short name (backwards compat)


getShortName

public java.lang.String getShortName()
Gets the short name (prefix)


setURI

public void setURI(java.lang.String uri)
Sets the uri


getURI

public java.lang.String getURI()
Gets the uri


setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets the display-name


getDisplayName

public java.lang.String getDisplayName()
Gets the display-name


setSmallIcon

public void setSmallIcon(java.lang.String smallIcon)
Sets the small-icon


getSmallIcon

public java.lang.String getSmallIcon()
Gets the small-icon


setLargeIcon

public void setLargeIcon(java.lang.String largeIcon)
Sets the large-icon


getLargeIcon

public java.lang.String getLargeIcon()
Gets the large-icon


setDescription

public void setDescription(java.lang.String description)
Sets the description


getDescription

public java.lang.String getDescription()
Gets the description


setValidator

public void setValidator(TldValidator validator)
Sets the validator


getValidator

public TldValidator getValidator()
Gets the validator


addListener

public void addListener(TldListener listener)
Adds a listener


createTag

public TldTag createTag()
Creates a new tag instance


addTag

public void addTag(TldTag tag)
Adds a tag


getTagList

public java.util.ArrayList<TldTag> getTagList()
Returns the list of tags.


addTagFile

public void addTagFile(TldTagFile tagFile)
Adds a tag-file


getTagFileList

public java.util.ArrayList<TldTagFile> getTagFileList()
Returns the list of tag files.


addJsfTag

public void addJsfTag(JsfTag tag)
Adds a jsf tag.


addFunction

public void addFunction(TldFunction function)
Adds a function


getFunctionList

public java.util.ArrayList<TldFunction> getFunctionList()
Returns the list of functions.


setJarPath

public void setJarPath(Path path)
Sets the jar path.


getJarPath

public Path getJarPath()
Gets the jar path.


setConfigException

public void setConfigException(java.lang.Throwable e)
Sets any configuration exception


getConfigException

public java.lang.Throwable getConfigException()
Gets any configuration exception


initListeners

public void initListeners(WebApp app)
                   throws java.lang.InstantiationException,
                          java.lang.IllegalAccessException
Applies the listeners.

Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException

mergeJsf

public void mergeJsf(TldTaglib jsfTaglib)

isModified

public boolean isModified()
Checks for modification.