Name

TagAttributeInfo

Synopsis

TagAttributeInfo instances are created by the JSP container to provide information found in the Tag Library Descriptor (TLD) about each attribute supported by a 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.TagAttributeInfo

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 ID

Constructor

public TagAttributeInfo(String name, boolean required, String type, boolean reqTime)

Pre-JSP 2.0 constructor. Creates a new instance with the specified information from the TLD. Instances of this class should only be created by the JSP container.

public TagAttributeInfo(String name, boolean required, String type, boolean reqTime, boolean fragment)

Creates a new instance with the specified information from the TLD, including information about whether the attribute is a fragment. Instances of this class should only be created by the JSP container.

Methods

public boolean canBeRequestTime( )

Returns true if a request time attribute value can be used for this attribute.

public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a)

Convenience method that returns the TagAttributeInfo instance in the specified array that represents an attribute named id or null if not found.

public String ...

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.