Name
TagInfo
Synopsis
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.
Synopsis
|
Class name: |
|
|
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). |
Fields
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)Creates a new instance with the specified values, based on the information available in
a JSP 1.1 TLD.-
public TagInfo(String tagName, String tagClassName, String bodycontent, String infoString, TagLibraryInfo taglib,TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo,String displayName, String smallIcon, String largeIcon,TagVariableInfo[] tvi)Creates a new instance with the specified values, based on the information available in
a JSP 1.2 TLD.
Methods
-
public TagAttributeInfo[]getAttributes( ) Returns information from the TLD about ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access