Name
TagLibraryInfo
Synopsis
TagLibraryInfo
instances are created by the JSP container
to provide information found in the Tag Library Descriptor (TLD)
about a tag library as well as information from the
taglib
directive used in a JSP page.
It’s primarily intended to be used by the JSP
container itself during the translation phase.
Synopsis
Class name: |
|
Extends: |
None |
Implements: |
None |
Implemented by: |
Internal container-dependent class. Most containers use the reference implementation of the class (developed in the Apache Jakarta project). |
Fields
protected String info protected String jspversion protected String prefix protected String shortname protected TagInfo[] tags protected String tlibversion protected String uri protected String urn
Constructor
-
protected TagLibraryInfo(String prefix, String uri)
Creates a new instance with the specified prefix and URI (from the
taglib
directive in the JSP page).
Methods
-
public java.lang.String getInfoString( )
Returns the information string from the TLD for the library.
-
public String getPrefixString( )
Returns the prefix assigned by the
taglib
directive for the library.-
public String getReliableURN( )
Returns URI value from the TLD for the library.
-
public String getRequiredVersion( )
Returns the required JSP version from the TLD for the library.
-
public String getShortName( )
Returns the short name (prefix) from the TLD for the library.
-
public TagInfo getTag(String shortname)
Returns a
TagInfo ...
Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.