|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagAttributeInfo
Information on Tag Attributes; this class is instantiated from the Tag Library Descriptor file (TLD). Only the information needed to generate code is included here. Other information like SCHEMA for validation belongs elsewhere.
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()
Can this attribute hold a request-time value? |
static TagAttributeInfo |
getIdAttribute(TagAttributeInfo[] a)
Convenience method that goes through an array of TagAttributeInfo objects and looks for "id". |
java.lang.String |
getName()
|
java.lang.String |
getTypeName()
|
boolean |
isRequired()
Is this required or not? |
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 attributetype
- The name of the type of the attributereqTime
- Can this attribute hold a request-time AttributeMethod Detail |
public java.lang.String getName()
public java.lang.String getTypeName()
public boolean canBeRequestTime()
public boolean isRequired()
public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a)
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |