| java.lang.Object javax.servlet.jsp.tagext.TagAttributeInfo
TagAttributeInfo | public class TagAttributeInfo (Code) | | Information about tag attributes. This information comes from the
Tag Library Descriptor (TLD). Generally, a TagExtraInfo class will
grab this information from the TagLibraryInfo class.
<tag>
<name>foo</name>
<tagclass>com.caucho.tags.FooTag</tagclass>
<attribute>
<name>bar</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</tag>
|
Field Summary | |
final public static String | ID |
Constructor Summary | |
public | TagAttributeInfo(String name, boolean required, String type, boolean reqTime) Creates a new TagAttributeInfo object. | public | TagAttributeInfo(String name, boolean required, String type, boolean reqTime, boolean fragment) Creates a new TagAttributeInfo object. | public | TagAttributeInfo(String name, boolean required, String type, boolean reqTime, boolean fragment, String description, boolean deferredValue, boolean deferredMethod, String expectedTypeName, String methodSignature) Creates a new TagAttributeInfo object. |
TagAttributeInfo | public TagAttributeInfo(String name, boolean required, String type, boolean reqTime)(Code) | | Creates a new TagAttributeInfo object. Only the JSP engine will
call this. It's not intended to be a public constructor.
Parameters: name - the name of the attribute Parameters: required - true if the attribute must be present in the tag Parameters: reqTime - true if the attribute can be a request time attribute Parameters: type - the Java type of the attribute |
TagAttributeInfo | public TagAttributeInfo(String name, boolean required, String type, boolean reqTime, boolean fragment)(Code) | | Creates a new TagAttributeInfo object. Only the JSP engine will
call this. It's not intended to be a public constructor.
Parameters: name - the name of the attribute Parameters: required - true if the attribute must be present in the tag Parameters: reqTime - true if the attribute can be a request time attribute Parameters: type - the Java type of the attribute |
TagAttributeInfo | public TagAttributeInfo(String name, boolean required, String type, boolean reqTime, boolean fragment, String description, boolean deferredValue, boolean deferredMethod, String expectedTypeName, String methodSignature)(Code) | | Creates a new TagAttributeInfo object. Only the JSP engine will
call this. It's not intended to be a public constructor.
Parameters: name - the name of the attribute Parameters: required - true if the attribute must be present in the tag Parameters: reqTime - true if the attribute can be a request time attribute Parameters: type - the Java type of the attribute |
canBeRequestTime | public boolean canBeRequestTime()(Code) | | Returns true if the attribute can be a request time attribute (<%= ... %>).
|
getDescription | public String getDescription()(Code) | | Returns the tag's description.
since: JSP 2.1 |
getExpectedTypeName | public String getExpectedTypeName()(Code) | | Returns the expected type of the attribute.
since: JSP 2.1 |
getMethodSignature | public String getMethodSignature()(Code) | | Returns the expected method signature.
since: JSP 2.1 |
getName | public String getName()(Code) | | Returns the attribute name
|
getTypeName | public String getTypeName()(Code) | | Returns the type name of the attribute.
|
isDeferredMethod | public boolean isDeferredMethod()(Code) | | Returns true if the attribute is deferred.
since: JSP 2.1 |
isDeferredValue | public boolean isDeferredValue()(Code) | | Returns true if the attribute is deferred.
since: JSP 2.1 |
isFragment | public boolean isFragment()(Code) | | True if the attribute is of type fragment
|
isRequired | public boolean isRequired()(Code) | | True if the attribute must exist in the tag.
|
|
|