| java.lang.Object javax.servlet.jsp.tagext.TagInfo
TagInfo | public class TagInfo (Code) | | Represents the tag information from the tld. TagExtraInfo classes
can use this to help in validation or in variable creation.
<tag>
<name>foo</name>
<tagclass>com.caucho.tags.FooTag</tagclass>
<teiclass>com.caucho.tags.FooTagInfo</teiclass>
<bodycontent>jsp</bodycontent>
<attribute>
...
</attribute>
</tag>
|
Constructor Summary | |
public | TagInfo(String tagName, String tagClassName, String bodyContent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo) Constructor for TagInfo. | public | TagInfo(String tagName, String tagClassName, String bodyContent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo, String displayName, String smallIcon, String largeIcon, TagVariableInfo[] tvi) Constructor for TagInfo. | public | TagInfo(String tagName, String tagClassName, String bodyContent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo, String displayName, String smallIcon, String largeIcon, TagVariableInfo[] tvi, boolean dynamicAttributes) Constructor for TagInfo. |
BODY_CONTENT_EMPTY | final public static String BODY_CONTENT_EMPTY(Code) | | Constant for the "empty" body content
|
BODY_CONTENT_JSP | final public static String BODY_CONTENT_JSP(Code) | | Constant for standard "jsp" processed body content
|
BODY_CONTENT_SCRIPTLESS | final public static String BODY_CONTENT_SCRIPTLESS(Code) | | Constant for tags which forbid scripts
|
BODY_CONTENT_TAG_DEPENDENT | final public static String BODY_CONTENT_TAG_DEPENDENT(Code) | | Constant for "tag-dependent" unprocessed verbatim body content
|
TagInfo | public TagInfo(String tagName, String tagClassName, String bodyContent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo)(Code) | | Constructor for TagInfo. Created by the JSP engine at compile time
for the benefit of TagExtraInfo classes.
Parameters: tagName - tag name Parameters: tagClassName - the tag's class name Parameters: bodyContent - description of the expected body contents Parameters: infoString - informatino string of the tag Parameters: taglib - pointer to the TagLibraryInfo Parameters: tagExtraInfo - the tag's custom TagExtraInfo. Parameters: tagAttributeInfo - information about the tags attribute from the tld. |
TagInfo | public TagInfo(String tagName, String tagClassName, String bodyContent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo, String displayName, String smallIcon, String largeIcon, TagVariableInfo[] tvi)(Code) | | Constructor for TagInfo. Created by the JSP engine at compile time
for the benefit of TagExtraInfo classes.
Parameters: tagName - tag name Parameters: tagClassName - the tag's class name Parameters: bodyContent - description of the expected body contents Parameters: infoString - informatino string of the tag Parameters: taglib - pointer to the TagLibraryInfo Parameters: tagExtraInfo - the tag's custom TagExtraInfo. Parameters: tagAttributeInfo - information about the tags attribute from the tld. Parameters: displayName - the GUI builder's display name Parameters: smallIcon - small icon for a GUI builder Parameters: largeIcon - large icon for a GUI builder Parameters: tvi - variable info in the tld |
TagInfo | public TagInfo(String tagName, String tagClassName, String bodyContent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo, String displayName, String smallIcon, String largeIcon, TagVariableInfo[] tvi, boolean dynamicAttributes)(Code) | | Constructor for TagInfo. Created by the JSP engine at compile time
for the benefit of TagExtraInfo classes.
Parameters: tagName - tag name Parameters: tagClassName - the tag's class name Parameters: bodyContent - description of the expected body contents Parameters: infoString - informatino string of the tag Parameters: taglib - pointer to the TagLibraryInfo Parameters: tagExtraInfo - the tag's custom TagExtraInfo. Parameters: tagAttributeInfo - information about the tags attribute from the tld. Parameters: displayName - the GUI builder's display name Parameters: smallIcon - small icon for a GUI builder Parameters: largeIcon - large icon for a GUI builder Parameters: tvi - variable info in the tld |
getAttributes | public TagAttributeInfo[] getAttributes()(Code) | | Returns information about the tags allowed attributes.
|
getBodyContent | public String getBodyContent()(Code) | | Returns the body content type.
- empty - the tag must be empty
- jsp - the body is processed as normal jsp
- tag-dependent - the body copied as verbatim text.
|
getDisplayName | public String getDisplayName()(Code) | | Returns the display name to be displayed by tools.
|
getInfoString | public String getInfoString()(Code) | | Returns the tag's infomation string.
|
getLargeIcon | public String getLargeIcon()(Code) | | Returns the path to the large icon to be displayed by the tools.
|
getSmallIcon | public String getSmallIcon()(Code) | | Returns the path to the small icon to be displayed by the tools.
|
getTagClassName | public String getTagClassName()(Code) | | Returns the tag's class name.
|
getTagExtraInfo | public TagExtraInfo getTagExtraInfo()(Code) | | Returns the tag extra info for the tag.
|
getTagName | public String getTagName()(Code) | | Returns the tag's name.
|
getTagVariableInfos | public TagVariableInfo[] getTagVariableInfos()(Code) | | Returns the tag variable info in the tld
|
getVariableInfo | public VariableInfo[] getVariableInfo(TagData data)(Code) | | Information about the variables created by the tag at runtime.
Parameters: data - information about the tag instance |
hasDynamicAttributes | public boolean hasDynamicAttributes()(Code) | | Retursn true if dynamic attributes are supported.
|
isValid | public boolean isValid(TagData data)(Code) | | Returns true if the tag instance is valid.
Parameters: data - information about the tag instance |
setTagExtraInfo | public void setTagExtraInfo(TagExtraInfo tei)(Code) | | Sets the tag extra info for the tag.
|
setTagLibrary | public void setTagLibrary(TagLibraryInfo info)(Code) | | Sets the TagLibraryInfo for the tag.
|
|
|