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) and is available only at translation time.
BODY_CONTENT_EMPTY static constant for getBodyContent() when it is empty | |
BODY_CONTENT_JSP static constant for getBodyContent() when it is JSP | |
BODY_CONTENT_TAG_DEPENDENT static constant for getBodyContent() when it is Tag dependent |
TagInfo(java.lang.String tagName, java.lang.String tagClassName, java.lang.String bodycontent, java.lang.String infoString,TagLibraryInfo taglib,TagExtraInfo tagExtraInfo,TagAttributeInfo[] attributeInfo) Constructor for TagInfo from data in the JSP 1.1 format for TLD. | |
TagInfo(java.lang.String tagName, java.lang.String tagClassName, java.lang.String bodycontent, java.lang.String infoString,TagLibraryInfo taglib,TagExtraInfo tagExtraInfo,TagAttributeInfo[] attributeInfo, java.lang.String displayName, java.lang.String smallIcon, java.lang.String largeIcon,TagVariableInfo[] tvi) Constructor for TagInfo from data in the JSP 1.2 format for TLD. |
getAttributes() Attribute information (in the TLD) on this tag. | |
getBodyContent() The bodycontent information for this tag. | |
getDisplayName() Get the displayName | |
getInfoString() The information string for the tag. | |
getLargeIcon() Get the path to the large icon | |
getSmallIcon() Get the path to the small icon | |
getTagClassName() Name of the class that provides the handler for this tag. | |
getTagExtraInfo() The instance (if any) for extra tag information | |
getTagLibrary() The instance of TabLibraryInfo we belong to. | |
getTagName() The name of the Tag. | |
getTagVariableInfos() Get TagVariableInfo objects associated with this TagInfo | |
getVariableInfo(TagData data) Information on the scripting objects created by this tag at runtime. | |
isValid(TagData data) Translation-time validation of the attributes. | |
setTagExtraInfo(TagExtraInfo tei) Set the instance for extra tag information | |
setTagLibrary(TagLibraryInfo tl) Set the TagLibraryInfo property. | |
toString() Stringify for debug purposes... |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
public static final java.lang.StringBODY_CONTENT_JSP
public static final java.lang.StringBODY_CONTENT_TAG_DEPENDENT
public static final java.lang.StringBODY_CONTENT_EMPTY
publicTagInfo(java.lang.String tagName, java.lang.String tagClassName, java.lang.String bodycontent, java.lang.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;publicTagInfo(java.lang.String tagName, java.lang.String tagClassName, java.lang.String bodycontent, java.lang.String infoString,TagLibraryInfo taglib,TagExtraInfo tagExtraInfo,TagAttributeInfo[] attributeInfo, java.lang.String displayName, java.lang.String smallIcon, java.lang.String largeIcon,TagVariableInfo[] tvi)
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;displayName
- A short name to be displayed by toolssmallIcon
- Path to a small icon to be displayed by toolslargeIcon
- Path to a large icon to be displayed by toolstagVariableInfo
- An array of a TagVariableInfo (or null)public java.lang.StringgetTagName()
publicTagAttributeInfo[]getAttributes()
publicVariableInfo[]getVariableInfo(TagData data)
Default is null if the tag has no "id" attribute, otherwise, {"id", Object}
data
- TagData describing this action.public booleanisValid(TagData data)
data
- The translation-time TagData instance.public voidsetTagExtraInfo(TagExtraInfo tei)
tei
- the TagExtraInfo instancepublicTagExtraInfogetTagExtraInfo()
public java.lang.StringgetTagClassName()
public java.lang.StringgetBodyContent()
public java.lang.StringgetInfoString()
public voidsetTagLibrary(TagLibraryInfo tl)
tl
- the TagLibraryInfo to assignpublicTagLibraryInfogetTagLibrary()
public java.lang.StringgetDisplayName()
public java.lang.StringgetSmallIcon()
public java.lang.StringgetLargeIcon()
publicTagVariableInfo[]getTagVariableInfos()
public java.lang.StringtoString()
toString
in classjava.lang.Object