|
|||||||||
| Home >> All >> javax >> servlet >> jsp >> [ tagext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.servlet.jsp.tagext
Class TagAttributeInfo

java.lang.Objectjavax.servlet.jsp.tagext.TagAttributeInfo
- public class TagAttributeInfo
- extends java.lang.Object
Information on the attributes of a Tag, available at translation time. 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 | |
private boolean |
fragment
|
static java.lang.String |
ID
"id" is wired in to be ID. |
private java.lang.String |
name
|
private boolean |
reqTime
|
private boolean |
required
|
private java.lang.String |
type
|
| Constructor Summary | |
TagAttributeInfo(java.lang.String name,
boolean required,
java.lang.String type,
boolean reqTime)
Constructor for TagAttributeInfo. |
|
TagAttributeInfo(java.lang.String name,
boolean required,
java.lang.String type,
boolean reqTime,
boolean fragment)
JSP 2.0 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 |
isFragment()
Whether this attribute is of type JspFragment. |
boolean |
isRequired()
Whether this attribute is required. |
java.lang.String |
toString()
Returns a String representation of this TagAttributeInfo, suitable for debugging purposes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
ID
public static final java.lang.String ID
- "id" is wired in to be ID. There is no real benefit in having it be something else
IDREFs are not handled any differently.
- See Also:
- Constant Field Values
name
private java.lang.String name
type
private java.lang.String type
reqTime
private boolean reqTime
required
private boolean required
fragment
private boolean fragment
| Constructor Detail |
TagAttributeInfo
public TagAttributeInfo(java.lang.String name, boolean required, java.lang.String type, boolean reqTime)
- Constructor for TagAttributeInfo.
This class is to be instantiated only from the
TagLibrary code under request from some JSP code that is parsing a
TLD (Tag Library Descriptor).
TagAttributeInfo
public TagAttributeInfo(java.lang.String name, boolean required, java.lang.String type, boolean reqTime, boolean fragment)
- JSP 2.0 Constructor for TagAttributeInfo.
This class is to be instantiated only from the
TagLibrary code under request from some JSP code that is parsing a
TLD (Tag Library Descriptor).
- Since:
- 2.0
| Method Detail |
getName
public java.lang.String getName()
- The name of this attribute.
getTypeName
public java.lang.String getTypeName()
- The type (as a String) of this attribute.
canBeRequestTime
public boolean canBeRequestTime()
- Whether this attribute can hold a request-time value.
isRequired
public boolean isRequired()
- Whether this attribute is required.
getIdAttribute
public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a)
- Convenience static method that goes through an array of TagAttributeInfo
objects and looks for "id".
isFragment
public boolean isFragment()
- Whether this attribute is of type JspFragment.
- Since:
- 2.0
toString
public java.lang.String toString()
- Returns a String representation of this TagAttributeInfo, suitable
for debugging purposes.
|
|||||||||
| Home >> All >> javax >> servlet >> jsp >> [ tagext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javax.servlet.jsp.tagext.TagAttributeInfo