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
trueif a request time attribute value can be used for this attribute.-
publicstatic TagAttributeInfo getIdAttribute(TagAttributeInfo[] a) Convenience method that returns the
TagAttributeInfoinstance in the specified array that represents an ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access