public class TagInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BODY_CONTENT_EMPTY
static constant for getBodyContent() when it is empty
|
static java.lang.String |
BODY_CONTENT_JSP
static constant for getBodyContent() when it is JSP
|
static java.lang.String |
BODY_CONTENT_TAG_DEPENDENT
static constant for getBodyContent() when it is Tag dependent
|
| Constructor and Description |
|---|
TagInfo(java.lang.String tagName,
java.lang.String tagClassName,
java.lang.String bodycontent,
java.lang.String infoString,
TagLibraryInfo taglib,
TagExtraInfo tagExtraInfo,
TagAttributeInfo[] attributeInfo)
Constructor for TagInfo.
|
| Modifier and Type | Method and Description |
|---|---|
TagAttributeInfo[] |
getAttributes()
A null return means no information on attributes
|
java.lang.String |
getBodyContent() |
java.lang.String |
getInfoString() |
java.lang.String |
getTagClassName()
Name of the class that provides the (run-time handler for this tag
|
TagExtraInfo |
getTagExtraInfo()
The instance (if any) for extra tag information
|
TagLibraryInfo |
getTagLibrary() |
java.lang.String |
getTagName()
Tag name
|
VariableInfo[] |
getVariableInfo(TagData data)
Information on the object created by this tag at runtime.
|
boolean |
isValid(TagData data)
Translation-time validation of the attributes.
|
java.lang.String |
toString()
Stringify for debug purposes...
|
public static final java.lang.String BODY_CONTENT_JSP
public static final java.lang.String BODY_CONTENT_TAG_DEPENDENT
public static final java.lang.String BODY_CONTENT_EMPTY
public TagInfo(java.lang.String tagName,
java.lang.String tagClassName,
java.lang.String bodycontent,
java.lang.String infoString,
TagLibraryInfo taglib,
TagExtraInfo tagExtraInfo,
TagAttributeInfo[] attributeInfo)
tagName - The name of this tagtagClassName - The name of the tag handler classbodycontent - Information on the body content of these tagsinfoString - The (optional) string information for this tagtaglib - The instance of the tag library that contains us.tagExtraInfo - The instance providing extra Tag info. May be nullattributeInfo - An array of AttributeInfo data from descriptor.
May be null;public java.lang.String getTagName()
public TagAttributeInfo[] getAttributes()
public VariableInfo[] getVariableInfo(TagData data)
public boolean isValid(TagData data)
data - The translation-time TagData instance.public TagExtraInfo getTagExtraInfo()
public java.lang.String getTagClassName()
public java.lang.String getBodyContent()
public java.lang.String getInfoString()
public TagLibraryInfo getTagLibrary()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.