|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagLibraryInfo
public abstract class TagLibraryInfo
Information about the entire tag library.
Tag libraries are declared in a JSP file like:
<%@ 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>
Field Summary | |
---|---|
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
|
Constructor Summary | |
---|---|
protected |
TagLibraryInfo(java.lang.String prefix,
java.lang.String uri)
Called by the JSP engine to collect tag library information. |
Method Summary | |
---|---|
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:
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
protected TagLibraryInfo(java.lang.String prefix, java.lang.String uri)
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |