Name

TagLibraryInfo

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

Description

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.

Class Summary

public abstract class TagLibraryInfo {
  // Constructor
  protected TagLibraryInfo(String prefix, String uri);

  // Methods
  public String getInfoString( );
  public String getPrefixString( );
  public String getReliableURN( );
  public String getRequiredVersion( );
  public String getShortName( );
  public TagInfo getTag(String shortname);
  public TagInfo[] getTags( );
  public String getURI( );
}

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 the URI value from the TLD for the library.

public String getRequiredVersion( )

Returns the required ...

Get Java Server Pages 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.