|
TagAttributeInfo (Servlet and JavaServer Pages API Documentation)
javax.servlet.jsp.tagext
|
Field Summary | |
static java.lang.String |
ID
"id" is wired in to be ID. |
Constructor Summary | |
TagAttributeInfo(java.lang.String name,
boolean required,
java.lang.String type,
boolean reqTime)
Constructor for TagAttributeInfo. |
Method Summary | |
boolean |
canBeRequestTime()
Whether this attribute can hold a request-time value. |
static TagAttributeInfo |
getIdAttribute(TagAttributeInfo[] a)
Convenience static method that goes through an array of TagAttributeInfo objects and looks for "id". |
java.lang.String |
getName()
The name of this attribute. |
java.lang.String |
getTypeName()
The type (as a String) of this attribute. |
boolean |
isRequired()
Whether this attribute is required. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ID
Constructor Detail |
public TagAttributeInfo(java.lang.String name, boolean required, java.lang.String type, boolean reqTime)
name
- The name of the attribute.required
- If this attribute is required in tag instances.type
- The name of the type of the attribute.reqTime
- Whether this attribute holds a request-time Attribute.Method Detail |
public java.lang.String getName()
public java.lang.String getTypeName()
public boolean canBeRequestTime()
public boolean isRequired()
public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a)
a
- An array of TagAttributeInfo
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |