O'Reilly logo

JavaServer Pages, Second Edition by Hans Bergsten

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required