Java Reference
In-Depth Information
The
isValid()
Method
public boolean isValid(TagData data)
This method performs translation-time validation of the
TagData
attributes, returning a
boolean
value indicating validity.
isValid()
throws no exceptions.
It takes one parameter:
•
TagData
It returns this value:
•
boolean
The
setTagInfo()
Method
public void setTagInfo(TagInfo info)
This method sets the
TagInfo
object for this class.
setTagInfo()
returns no value and throws
no exceptions.
It takes one parameter:
•
TagInfo
The
TagInfo
Class
public abstract class TagInfo extends java.lang.Object
This class provides
Tag
information for a tag in a tag library. It is instantiated from the TLD.
The
TagInfo
class has nine fields and eleven methods, described in the following sections.
The
attributeInfo
Field
private TagAttributeInfo[] attributeInfo
E
This field holds a reference to an array of
TagAttributeInfo
objects.
The
BODY_CONTENT_JSP
Field
public static final java.lang.String BODY_CONTENT_JSP
This field holds a reference to a static constant for
getBodyContent()
, when it is a JSP.
The
BODY_CONTENT_TAG_DEPENDENT
Field
public static final java.lang.String BODY_CONTENT_TAG_DEPENDENT
This field holds a reference to a static constant for
getBodyContent()
, when it is
Tag
depen-
dent.