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
taglibdirective 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
taglibdirective 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access