Name

TagInfo

Synopsis

TagInfo instances are created by the JSP container to provide information found in the Tag Library Descriptor (TLD) about a custom action as well as information about the attribute values used in a JSP page for an instance of the custom action. It’s primarily intended to be used by the JSP container itself during the translation phase.

Synopsis

Class name:

javax.servlet.jsp.tagext.TagInfo

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

public static final String BODY_CONTENT_EMPTY
public static final String BODY_CONTENT_JSP
public static final String BODY_CONTENT_TAG_DEPENDENT

Constructor

public TagInfo(String tagName, String tagClassName,

String bodycontent, String infoString, TagLibraryInfo taglib,

TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo)

Creates a new instance with the specified values, based on the information available in a JSP 1.1 TLD.

public TagInfo(String tagName, String tagClassName,

String bodycontent, String infoString, TagLibraryInfo taglib,

TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo,

String displayName, String smallIcon, String largeIcon,

TagVariableInfo[] tvi)

Creates a new instance with the specified values, based on the information available in a JSP 1.2 TLD.

Methods

public TagAttributeInfo[] getAttributes( )

Returns information from the TLD about ...

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.