Class TagLibraryDescriptor
java.lang.Object
com.sun.ts.tests.common.taglibsig.TagLibraryDescriptor
Represents a TLD from a JAR file allowing access to the tag and function and validator entries as well as TLD level
 metatdata such as support container version and version of the taglibrary itself.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the functions of this tag library.static TagLibraryDescriptorgetInstance(String jarUrl, String taglibUri) Returns a TagLibraryDescriptor instance based on the URI the tag library is known by (i.e.Returns the minimum container version required to use this tag libary.TagEntry[]Returns the tags of this tag library.Returns the version of this tag library.getURI()Returns the URI that identifies this tag libraryThe validators of this tag library.
- 
Method Details- 
getInstanceReturns a TagLibraryDescriptor instance based on the URI the tag library is known by (i.e. theelement of the TLD). If the TagLibraryDescriptor is not found in the cache, the this method will use the URL to the jar file and scan the JAR file for TLDs. Any TLD's found will be processed and added cache. If, after scanning the JAR file, no TLD's matching the specified ttaglib uri can be found, this method will return null. - Parameters:
- jarUrl- - The file URL of the JAR file to scan for TLDs if the cache doesn't contain the requested TagLibraryDescriptor instance
- taglibUri- - The uri of the tag library of interest
- Returns:
- a TagLibraryDescriptor for the provided uri, or null if no tag library can be found
 
- 
getTagEntriesReturns the tags of this tag library.- Returns:
- the tags of this tag library
 
- 
getFunctionEntriesReturns the functions of this tag library.- Returns:
- the functions of this tag library
 
- 
getValidatorEntriesThe validators of this tag library.- Returns:
- the validators of this tag library
 
- 
getRequiredContainerVersionReturns the minimum container version required to use this tag libary.- Returns:
- the minimum container version required to use this tag library
 
- 
getTaglibraryVersionReturns the version of this tag library.- Returns:
- the version of this tag library
 
- 
getURIReturns the URI that identifies this tag library- Returns:
- the URI that identifies this tag library
 
 
-