TagInfo Class  
public class TagInfo extends Object  
 
Object
  TagInfo

A TagInfo object contains any information associated with a Tag.

BODY_CONTENT_JSP  
public static final int BODY_CONTENT_JSP Constant
 

This constant denotes JSP body content.

BODY_CONTENT_TAG_DEPENDENT  
public static final int BODY_CONTENT_TAG_DEPENDENT Constant
 

This constant denotes tag-depentent body content.

BODY_CONTENT_EMPTY  
public static final int BODY_CONTENT_EMPTY Constant
 

This constant denotes empty tag body content.

TagInfo()  
public TagInfo(String name, String class, String content, String infoString, TagLibraryInfo lib, TagExtraInfo tei, TagAttributeInfo[] attr) Constructor
 

Creates a TagInfo object. The name is the name given to the tag. The class is the name of the tag handler class. The content provides information about the body content of these tags. The infoString is an optional String containing information about this tag.

getAttributes()  
public TagAttributeInfo[] getAttributes() Method
 

getAttributes returns a TagAttributeInfo object containing information on the tag attributes.

getBodyContent()  
public String getBodyContent() Method
 

getBodyContent returns a String containing information about the body content of the tag.

getInfoString()  
public String getInfoString() Method
 

getInfoString returns the info string, if any, associated with the tag.

getTagClassName()  
public String getTagClassName() Method
 

getTagClassName returns the name of the tag handler class.

getTagExtraInfo()  
public TagExtraInfo getTagExtraInfo() Method
 

getTagExtraInfo returns the TagExtraInfo object, if any, associated with the tag.

getTagLibrary()  
public TagLibraryInfo getTagLibraryInfo() Method
 

getTagLibraryInfo returns the TagLibraryInfo object associated with the tag.

getTagName()  
public String getTagName() Method
 

getTagName() returns the name of the tag.

getVariableInfo()  
public VariableInfo[] getVariableInfo(TagData td) Method
 

getVariableInfo() returns an array of VariableInfo objects containing information on the object created by the tag at runtime.

isValid()  
public boolean isValid(TagData td) Method
 

isValid returns true if the attributes associated with the specified TagData object are valid at translation time. Request-time attributes are indicated as such.

toString()  
public String toString() Method
 

toString() returns a String representation of the invoking TagInfo object.