December 2000
Intermediate to advanced
574 pages
17h 3m
English
TagInfo
|
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). |
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.
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( );
}public TagInfo(String tagName, String tagClassName, String bodycontent, String infoString, TagLibraryInfo taglib, ...Read now
Unlock full access