public class TagAttributeInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
"id"
|
Constructor and Description |
---|
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)
Constructor for TagAttributeInfo in JSP2.0.
|
TagAttributeInfo(java.lang.String name,
boolean required,
java.lang.String type,
boolean reqTime,
boolean fragment,
java.lang.String description,
boolean deferredValue,
boolean deferredMethod,
java.lang.String expectedTypeName,
java.lang.String methodSignature)
2.1 constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRequestTime() |
static TagAttributeInfo |
getIdAttribute(TagAttributeInfo[] a)
Parse an array of TagAttributeInfo and find the object with the name equals to "id".
|
java.lang.String |
getName()
Get the Name of the attribute.
|
java.lang.String |
getTypeName()
Get the Type (as a String) of the attribute.
|
boolean |
isFragment() |
boolean |
isRequired() |
java.lang.String |
toString()
String representation of this TagAttributeInfo (for debugging).
|
public static final java.lang.String ID
public TagAttributeInfo(java.lang.String name, boolean required, java.lang.String type, boolean reqTime)
name
- the name of the attribute.required
- is the attribute required in tag instances.type
- type name of the attribute.reqTime
- public TagAttributeInfo(java.lang.String name, boolean required, java.lang.String type, boolean reqTime, boolean fragment)
name
- the name of the attribute.required
- is the attribute required in tag instances.type
- type name of the attribute.reqTime
- fragment
- JspFragment or not?public TagAttributeInfo(java.lang.String name, boolean required, java.lang.String type, boolean reqTime, boolean fragment, java.lang.String description, boolean deferredValue, boolean deferredMethod, java.lang.String expectedTypeName, java.lang.String methodSignature)
name
- name of the attributerequired
- if the attribute is required in the tagtype
- name of the type of the attributereqTime
- true if the attribute has a request-timefragment
- true if the attribute is a JspFragmentdescription
- deferredValue
- true if the attribute is a deferred valuedeferredMethod
- true if the attribute is a deferred methodexpectedTypeName
- expected type of the deferred valuemethodSignature
- expected method signature of deferred methodpublic java.lang.String getName()
public java.lang.String getTypeName()
public boolean canBeRequestTime()
public boolean isRequired()
public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a)
an
- array of TagAttributeInfopublic boolean isFragment()
public java.lang.String toString()
toString
in class java.lang.Object