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
trueif a request time attribute value can be used for this attribute.-
public static TagAttributeInfo getIdAttribute(TagAttributeInfo[]a) Convenience method that returns the
TagAttributeInfoinstance in the specified array that represents an attribute namedidornullif 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
trueif this attribute is required,falseotherwise.-
public String toString( ) Returns a
Stringrepresentation ...
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