Name

TagLibraryInfo

Synopsis

TagLibraryInfo instances are created by the JSP container to provide information found in the 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:

javax.servlet.jsp.tagext.TagLibraryInfo

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 FunctionInfo[] functions
protected String info
protected String jspversion
protected String prefix
protected String shortname
protected TagFileInfo[] tagFiles
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 FunctionInfo getFunction(String name)

Returns the information about the specified function or null if the function is not declared in this library.

public FunctionInfo[] getFunctions( )

Returns the information about all functions declared in this library or an empty array if no functions are declared.

public 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. ...

Get JavaServer Pages, 3rd 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.