javax.servlet.jsp.tagext
Class TagAttributeInfo
java.lang.Object
javax.servlet.jsp.tagext.TagAttributeInfo
public class TagAttributeInfo
extends java.lang.Object
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.
static String | ID - "id" is wired in to be ID.
|
TagAttributeInfo(String name, boolean required, String type, boolean reqTime) - Constructor for TagAttributeInfo.
|
ID
public static final 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.
TagAttributeInfo
public TagAttributeInfo(String name,
boolean required,
String type,
boolean reqTime)
Constructor for TagAttributeInfo.
No public constructor; 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).
name
- The name of the attributetype
- The name of the type of the attributereqTime
- Can this attribute hold a request-time Attribute
canBeRequestTime
public boolean canBeRequestTime()
Can this attribute hold a request-time value?
getIdAttribute
public static TagAttributeInfo getIdAttribute(a[] )
Convenience method that goes through an array of TagAttributeInfo
objects and looks for "id".
getName
public String getName()
getTypeName
public String getTypeName()
isRequired
public boolean isRequired()
Is this required or not?
toString
public String toString()
Copyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.