|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagInfo
Tag information for a tag in a Tag Library; this class is instantiated from the Tag Library Descriptor file (TLD).
Field Summary | |
static String |
BODY_CONTENT_EMPTY
static constant for getBodyContent() when it is empty |
static String |
BODY_CONTENT_JSP
static constant for getBodyContent() when it is JSP |
static String |
BODY_CONTENT_TAG_DEPENDENT
static constant for getBodyContent() when it is Tag dependent |
Constructor Summary | |
TagInfo(String tagName,
String tagClassName,
String bodycontent,
String infoString,
TagLibraryInfo taglib,
TagExtraInfo tagExtraInfo,
TagAttributeInfo[] attributeInfo)
Constructor for TagInfo. |
Method Summary | |
TagAttributeInfo[] |
getAttributes()
A null return means no information on attributes |
String |
getBodyContent()
|
String |
getInfoString()
|
String |
getTagClassName()
Name of the class that provides the (run-time handler for this tag |
TagExtraInfo |
getTagExtraInfo()
The instance (if any) for extra tag information |
TagLibraryInfo |
getTagLibrary()
|
String |
getTagName()
Tag name |
VariableInfo[] |
getVariableInfo(TagData data)
Information on the object created by this tag at runtime. |
boolean |
isValid(TagData data)
Translation-time validation of the attributes. |
String |
toString()
Stringify for debug purposes... |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final String BODY_CONTENT_JSP
public static final String BODY_CONTENT_TAG_DEPENDENT
public static final String BODY_CONTENT_EMPTY
Constructor Detail |
public TagInfo(String tagName, String tagClassName, String bodycontent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo)
tagName
- The name of this tagtagClassName
- The name of the tag handler classbodycontent
- Information on the body content of these tagsinfoString
- The (optional) string information for this tagtaglib
- The instance of the tag library that contains us.tagExtraInfo
- The instance providing extra Tag info. May be nullattributeInfo
- An array of AttributeInfo data from descriptor.
May be null;Method Detail |
public String getTagName()
public TagAttributeInfo[] getAttributes()
public VariableInfo[] getVariableInfo(TagData data)
public boolean isValid(TagData data)
data
- The translation-time TagData instance.public TagExtraInfo getTagExtraInfo()
public String getTagClassName()
public String getBodyContent()
public String getInfoString()
public TagLibraryInfo getTagLibrary()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |