Name

TagAttributeInfo

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

Description

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.

Class Summary

public class TagAttributeInfo {
  // Constructor
  public TagAttributeInfo(String name, boolean required,
    boolean rtexprvalue, String type, boolean reqTime);

  // Methods
  public boolean canBeRequestTime( );
  public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a);
  public String getName( );
  public String getTypeName( );
  public boolean isRequired( );
  public String toString( );
}

Constructor

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

Creates a new instance with the specified information from the TLD. Instances of this class should be created only 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 ...

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.