public abstract class TagLibraryInfo
extends java.lang.Object
<%@ taglib prefix='foo' uri='WEB-INF/tags.tld' %>
The tags.tld will look something like:
<taglib>
<uri>http://www.caucho.com/taglibs/2000-03-04/mytaglib.tld</uri>
<info>A sample tag library</info>
<shortname>mytaglib</shortname>
<jspversion>1.1</jspversion>
...
<tag>
...
</tag>
</taglib>
Modifier and Type | Field and Description |
---|---|
protected FunctionInfo[] |
functions |
protected java.lang.String |
info |
protected java.lang.String |
jspversion |
protected java.lang.String |
prefix |
protected java.lang.String |
shortname |
protected TagFileInfo[] |
tagFiles |
protected TagInfo[] |
tags |
protected java.lang.String |
tlibversion |
protected java.lang.String |
uri |
protected java.lang.String |
urn |
Modifier | Constructor and Description |
---|---|
protected |
TagLibraryInfo(java.lang.String prefix,
java.lang.String uri)
Called by the JSP engine to collect tag library information.
|
Modifier and Type | Method and Description |
---|---|
FunctionInfo |
getFunction(java.lang.String name)
Returns the named function.
|
FunctionInfo[] |
getFunctions()
Returns the functions for the tag.
|
java.lang.String |
getInfoString()
Returns a descriptive string for the library.
|
java.lang.String |
getPrefixString()
Returns the library's prefix string from the taglib declaration:
|
java.lang.String |
getReliableURN()
Returns a canonical name representing this tag library.
|
java.lang.String |
getRequiredVersion()
Returns the minimum required JSP version for the tag library.
|
java.lang.String |
getShortName()
The preferred short name for the library.
|
TagInfo |
getTag(java.lang.String name)
Returns the information for a specific tag.
|
TagFileInfo |
getTagFile(java.lang.String shortname)
Returns the tag from the tag file.
|
TagFileInfo[] |
getTagFiles()
Returns the tag from the tag file.
|
abstract TagLibraryInfo[] |
getTagLibraryInfos()
Returns the information from the tag file.
|
TagInfo[] |
getTags()
Returns an array of all the tags in the library
|
java.lang.String |
getURI()
Returns the library's uri from the taglib declaration:
|
protected FunctionInfo[] functions
protected java.lang.String info
protected java.lang.String jspversion
protected java.lang.String prefix
protected java.lang.String shortname
protected TagFileInfo[] tagFiles
protected TagInfo[] tags
protected java.lang.String tlibversion
protected java.lang.String uri
protected java.lang.String urn
protected TagLibraryInfo(java.lang.String prefix, java.lang.String uri)
public java.lang.String getInfoString()
info
attribute in the TLD.
<taglib>
<info>A sample tag library</info>
public java.lang.String getPrefixString()
<%@ taglib prefix='foo' uri='WEB-INF/tags.tld' %>
public java.lang.String getURI()
<%@ taglib prefix='foo' uri='WEB-INF/tags.tld' %>
public java.lang.String getShortName()
public java.lang.String getReliableURN()
uri
attribute in the taglib.
<taglib>
<uri>http://www.caucho.com/taglibs/2000-03-04/mytaglib.tld</uri>
public java.lang.String getRequiredVersion()
public TagInfo[] getTags()
public TagInfo getTag(java.lang.String name)
public FunctionInfo getFunction(java.lang.String name)
public FunctionInfo[] getFunctions()
public TagFileInfo[] getTagFiles()
public abstract TagLibraryInfo[] getTagLibraryInfos()
public TagFileInfo getTagFile(java.lang.String shortname)