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: |
|
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,
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 attribute namedid
ornull
if not found.-
public String getName( )
Returns the attribute name.
-
public String getTypeName( )
Returns the attribute’s Java type (a fully qualified class or interface name).
-
public boolean isRequired( )
Returns
true
if this attribute is required,false
otherwise.-
public String toString( )
Returns a
String
representation ...
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.