Name
TagInfo
Synopsis
Class Name: |
javax.servlet.jsp.tagext.TagInfo |
Extends: |
None |
Implements: |
None |
Implemented by: |
Internal container-dependent class. Most containers use the reference implementation of the class (developed in the Apache Jakarta project). |
Description
TagInfo
instances are created by the JSP container
to provide information found in the Tag Library Descriptor (TLD)
about a custom action, as well as information about the attribute
values used in a JSP page for an instance of the custom action.
It’s primarily intended to be used by the JSP container itself
during the translation phase.
Class Summary
public class TagInfo { // Constants public static final String BODY_CONTENT_EMPTY; public static final String BODY_CONTENT_JSP; public static final String BODY_CONTENT_TAG_DEPENDENT; // Constructor public TagInfo(String tagName, String tagClassName, String bodycontent, String infoString, TagLibraryInfo taglib, TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo); // Methods public TagAttributeInfo[] getAttributes( ); public String getBodyContent( ); public String getInfoString( ); public String getTagClassName( ); public TagExtraInfo getTagExtraInfo( ); public TagLibraryInfo getTagLibrary( ); public String getTagName( ); public VariableInfo[] getVariableInfo(TagData data); public boolean isValid(TagData data); public String toString( ); }
Constructor
-
public TagInfo(String tagName, String tagClassName, String bodycontent, String infoString, TagLibraryInfo taglib, ...
Get Java Server Pages now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.