Home » apache-tomcat-6.0.26-src » javax » servlet » jsp » tagext » [javadoc | source]
javax.servlet.jsp.tagext
abstract public class: TagLibraryInfo [javadoc | source]
java.lang.Object
   javax.servlet.jsp.tagext.TagLibraryInfo
Translation-time information associated with a taglib directive, and its underlying TLD file. Most of the information is directly from the TLD, except for the prefix and the uri values used in the taglib directive
Field Summary
protected  String prefix    The prefix assigned to this taglib from the taglib directive. 
protected  String uri    The value of the uri attribute from the taglib directive for this library. 
protected  TagInfo[] tags    An array describing the tags that are defined in this tag library. 
protected  TagFileInfo[] tagFiles    An array describing the tag files that are defined in this tag library.
    since: 2.0 -
 
protected  FunctionInfo[] functions    An array describing the functions that are defined in this tag library.
    since: 2.0 -
 
protected  String tlibversion    The version of the tag library. 
protected  String jspversion    The version of the JSP specification this tag library is written to. 
protected  String shortname    The preferred short name (prefix) as indicated in the TLD. 
protected  String urn    The "reliable" URN indicated in the TLD. 
protected  String info    Information (documentation) for this TLD. 
Constructor:
 protected TagLibraryInfo(String prefix,
    String uri) 
    Constructor. This will invoke the constructors for TagInfo, and TagAttributeInfo after parsing the TLD file.
    Parameters:
    prefix - the prefix actually used by the taglib directive
    uri - the URI actually used by the taglib directive
Method from javax.servlet.jsp.tagext.TagLibraryInfo Summary:
getFunction,   getFunctions,   getInfoString,   getPrefixString,   getReliableURN,   getRequiredVersion,   getShortName,   getTag,   getTagFile,   getTagFiles,   getTagLibraryInfos,   getTags,   getURI
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.servlet.jsp.tagext.TagLibraryInfo Detail:
 public FunctionInfo getFunction(String name) 
    Get the FunctionInfo for a given function name, looking through all the functions in this tag library.
 public FunctionInfo[] getFunctions() 
    An array describing the functions that are defined in this tag library.
 public String getInfoString() 
    Information (documentation) for this TLD.
 public String getPrefixString() 
    The prefix assigned to this taglib from the taglib directive
 public 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.
 public String getRequiredVersion() 
    A string describing the required version of the JSP container.
 public 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.
 public TagInfo getTag(String shortname) 
    Get the TagInfo for a given tag name, looking through all the tags in this tag library.
 public TagFileInfo getTagFile(String shortname) 
    Get the TagFileInfo for a given tag name, looking through all the tag files in this tag library.
 public TagFileInfo[] getTagFiles() 
    An array describing the tag files that are defined in this tag library.
 abstract public 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 TagInfo[] getTags() 
    An array describing the tags that are defined in this tag library.
 public String getURI() 
    The value of the uri attribute from the taglib directive for this library.