Fields Summary |
---|
protected String | prefixThe prefix assigned to this taglib from the taglib directive. |
protected String | uriThe value of the uri attribute from the taglib directive for
this library. |
protected javax.servlet.jsp.tagext.TagInfo[] | tagsAn array describing the tags that are defined in this tag library. |
protected javax.servlet.jsp.tagext.TagFileInfo[] | tagFilesAn array describing the tag files that are defined in this tag library. |
protected FunctionInfo[] | functionsAn array describing the functions that are defined in this tag library. |
protected String | tlibversionThe version of the tag library. |
protected String | jspversionThe version of the JSP specification this tag library is written to. |
protected String | shortnameThe preferred short name (prefix) as indicated in the TLD. |
protected String | urnThe "reliable" URN indicated in the TLD. |
protected String | infoInformation (documentation) for this TLD. |
Methods Summary |
---|
public FunctionInfo | getFunction(java.lang.String name)Get the FunctionInfo for a given function name, looking through all the
functions in this tag library.
if (functions == null || functions.length == 0) {
System.err.println("No functions");
return null;
}
for (int i=0; i < functions.length; i++) {
if (functions[i].getName().equals(name)) {
return functions[i];
}
}
return null;
|
public FunctionInfo[] | getFunctions()An array describing the functions that are defined in this tag library.
return functions;
|
public java.lang.String | getInfoString()Information (documentation) for this TLD.
return info;
|
public java.lang.String | getPrefixString()The prefix assigned to this taglib from the taglib directive
return prefix;
|
public java.lang.String | getReliableURN()The "reliable" URN indicated in the TLD (the uri element).
This may be used by authoring tools as a global identifier
to use when creating a taglib directive for this library.
return urn;
|
public java.lang.String | getRequiredVersion()A string describing the required version of the JSP container.
return jspversion;
|
public java.lang.String | getShortName()The preferred short name (prefix) as indicated in the TLD.
This may be used by authoring tools as the preferred prefix
to use when creating an taglib directive for this library.
return shortname;
|
public javax.servlet.jsp.tagext.TagInfo | getTag(java.lang.String shortname)Get the TagInfo for a given tag name, looking through all the
tags in this tag library.
TagInfo tags[] = getTags();
if (tags == null || tags.length == 0) {
return null;
}
for (int i=0; i < tags.length; i++) {
if (tags[i].getTagName().equals(shortname)) {
return tags[i];
}
}
return null;
|
public javax.servlet.jsp.tagext.TagFileInfo | getTagFile(java.lang.String shortname)Get the TagFileInfo for a given tag name, looking through all the
tag files in this tag library.
TagFileInfo tagFiles[] = getTagFiles();
if (tagFiles == null || tagFiles.length == 0) {
return null;
}
for (int i=0; i < tagFiles.length; i++) {
if (tagFiles[i].getName().equals(shortname)) {
return tagFiles[i];
}
}
return null;
|
public javax.servlet.jsp.tagext.TagFileInfo[] | getTagFiles()An array describing the tag files that are defined in this tag library.
return tagFiles;
|
public abstract javax.servlet.jsp.tagext.TagLibraryInfo[] | getTagLibraryInfos()Returns an array of TagLibraryInfo objects representing the entire set
of tag libraries (including this TagLibraryInfo) imported by taglib
directives in the translation unit that references this TagLibraryInfo.
If a tag library is imported more than once and bound to different prefices,
only the TagLibraryInfo bound to the first prefix must be included
in the returned array.
|
public javax.servlet.jsp.tagext.TagInfo[] | getTags()An array describing the tags that are defined in this tag library.
return tags;
|
public java.lang.String | getURI()The value of the uri attribute from the taglib directive for
this library.
return uri;
|