Home » apache-tomcat-6.0.26-src » javax » servlet » jsp » tagext » [javadoc | source]
javax.servlet.jsp.tagext
public class: TagAttributeInfo [javadoc | source]
java.lang.Object
   javax.servlet.jsp.tagext.TagAttributeInfo
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
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. 
Constructor:
 public TagAttributeInfo(String name,
    boolean required,
    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).
    Parameters:
    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.
 public TagAttributeInfo(String name,
    boolean required,
    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).
    Parameters:
    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.
    fragment - Whether this attribute is of type JspFragment
    since: 2.0 -
 public TagAttributeInfo(String name,
    boolean required,
    String type,
    boolean reqTime,
    boolean fragment,
    String description,
    boolean deferredValue,
    boolean deferredMethod,
    String expectedTypeName,
    String methodSignature) 
    since: JSP - 2.1
Method from javax.servlet.jsp.tagext.TagAttributeInfo Summary:
canBeRequestTime,   getDescription,   getExpectedTypeName,   getIdAttribute,   getMethodSignature,   getName,   getTypeName,   isDeferredMethod,   isDeferredValue,   isFragment,   isRequired,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.servlet.jsp.tagext.TagAttributeInfo Detail:
 public boolean canBeRequestTime() 
    Whether this attribute can hold a request-time value.
 public String getDescription() 
 public String getExpectedTypeName() 
 public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a) 
    Convenience static method that goes through an array of TagAttributeInfo objects and looks for "id".
 public String getMethodSignature() 
 public String getName() 
    The name of this attribute.
 public String getTypeName() 
    The type (as a String) of this attribute.
 public boolean isDeferredMethod() 
 public boolean isDeferredValue() 
 public boolean isFragment() 
    Whether this attribute is of type JspFragment.
 public boolean isRequired() 
    Whether this attribute is required.
 public String toString() 
    Returns a String representation of this TagAttributeInfo, suitable for debugging purposes.