javax.servlet.jsp.tagext
public class TagVariableInfo extends Object
Constructor Summary | |
---|---|
TagVariableInfo(String nameGiven, String nameFromAttribute, String className, boolean declare, int scope)
Constructor for TagVariableInfo.
|
Method Summary | |
---|---|
String | getClassName()
The body of the <variable-class> element.
|
boolean | getDeclare()
The body of the <declare> element.
|
String | getNameFromAttribute()
The body of the <name-from-attribute> element.
|
String | getNameGiven()
The body of the <name-given> element.
|
int | getScope()
The body of the <scope> element.
|
Parameters: nameGiven value of <name-given> nameFromAttribute value of <name-from-attribute> className value of <variable-class> declare value of <declare> scope value of <scope>
Returns: The name of the class of the variable or 'java.lang.String' if not defined in the TLD.
Returns: Whether the variable is to be declared or not. If not defined in the TLD, 'true' will be returned.
Returns: The attribute whose value defines the variable name
Returns: The variable name as a constant
Returns: The scope to give the variable. NESTED scope will be returned if not defined in the TLD.