| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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.
| Field Summary | |
| static java.lang.String | BODY_CONTENT_EMPTYStatic constant for getBodyContent() when it is empty. | 
| static java.lang.String | BODY_CONTENT_JSPStatic constant for getBodyContent() when it is JSP. | 
| static java.lang.String | BODY_CONTENT_SCRIPTLESSStatic constant for getBodyContent() when it is scriptless. | 
| static java.lang.String | BODY_CONTENT_TAG_DEPENDENTStatic constant for getBodyContent() when it is Tag dependent. | 
| Constructor Summary | |
| 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. | |
| 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,
        boolean dynamicAttributes)Constructor for TagInfo from data in the JSP 2.0 format for TLD. | |
| Method Summary | |
|  TagAttributeInfo[] | getAttributes()Attribute information (in the TLD) on this tag. | 
|  java.lang.String | getBodyContent()The bodycontent information for this tag. | 
|  java.lang.String | getDisplayName()Get the displayName. | 
|  java.lang.String | getInfoString()The information string for the tag. | 
|  java.lang.String | getLargeIcon()Get the path to the large icon. | 
|  java.lang.String | getSmallIcon()Get the path to the small icon. | 
|  java.lang.String | getTagClassName()Name of the class that provides the handler for this tag. | 
|  TagExtraInfo | getTagExtraInfo()The instance (if any) for extra tag information. | 
|  TagLibraryInfo | getTagLibrary()The instance of TabLibraryInfo we belong to. | 
|  java.lang.String | getTagName()The name of the Tag. | 
|  TagVariableInfo[] | getTagVariableInfos()Get TagVariableInfo objects associated with this TagInfo. | 
|  VariableInfo[] | getVariableInfo(TagData data)Information on the scripting objects created by this tag at runtime. | 
|  boolean | hasDynamicAttributes()Get dynamicAttributes associated with this TagInfo. | 
|  boolean | isValid(TagData data)Translation-time validation of the attributes. | 
|  void | setTagExtraInfo(TagExtraInfo tei)Set the instance for extra tag information. | 
|  void | setTagLibrary(TagLibraryInfo tl)Set the TagLibraryInfo property. | 
|  ValidationMessage[] | validate(TagData data)Translation-time validation of the attributes. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final java.lang.String BODY_CONTENT_JSP
public static final java.lang.String BODY_CONTENT_TAG_DEPENDENT
public static final java.lang.String BODY_CONTENT_EMPTY
public static final java.lang.String BODY_CONTENT_SCRIPTLESS
| Constructor Detail | 
public TagInfo(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;
public 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)
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 toolstvi - An array of a TagVariableInfo (or null)
public 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,
               boolean dynamicAttributes)
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 toolstvi - An array of a TagVariableInfo (or null)dynamicAttributes - True if supports dynamic attributes| Method Detail | 
public java.lang.String getTagName()
public TagAttributeInfo[] getAttributes()
public VariableInfo[] getVariableInfo(TagData data)
data - TagData describing this action.
public boolean isValid(TagData data)
data - The translation-time TagData instance.
public ValidationMessage[] validate(TagData data)
data - The translation-time TagData instance.
public void setTagExtraInfo(TagExtraInfo tei)
tei - the TagExtraInfo instancepublic TagExtraInfo getTagExtraInfo()
public java.lang.String getTagClassName()
public java.lang.String getBodyContent()
public java.lang.String getInfoString()
public void setTagLibrary(TagLibraryInfo tl)
tl - the TagLibraryInfo to assignpublic TagLibraryInfo getTagLibrary()
public java.lang.String getDisplayName()
public java.lang.String getSmallIcon()
public java.lang.String getLargeIcon()
public TagVariableInfo[] getTagVariableInfos()
public boolean hasDynamicAttributes()
| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.