|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagVariableInfo
public class TagVariableInfo
TagVariableInfo objects create runtime variables available to the tags.
For example, a NESTED variable could be used like:
<mytag:loop name='i' min='0' max='10'>
Iter: <%= i %>
</mytag:loop>
Constructor Summary | |
---|---|
TagVariableInfo(java.lang.String nameGiven,
java.lang.String nameFromAttribute,
java.lang.String className,
boolean declare,
int scope)
Creates information for a variable. |
Method Summary | |
---|---|
java.lang.String |
getClassName()
Returns the variable's Java class. |
boolean |
getDeclare()
True if the variable should be declared. |
java.lang.String |
getNameFromAttribute()
Returns the attribute name that will contain the variable name |
java.lang.String |
getNameGiven()
Returns the variable name, if it's static. |
int |
getScope()
Returns the variable's scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagVariableInfo(java.lang.String nameGiven, java.lang.String nameFromAttribute, java.lang.String className, boolean declare, int scope)
nameGiven
- name of the variablenameFromAttribute
- name of the variableclassName
- the java classname of the variabledeclare
- true if the variable should be declaredscope
- the scope of the variableMethod Detail |
---|
public java.lang.String getNameGiven()
public java.lang.String getNameFromAttribute()
public java.lang.String getClassName()
public boolean getDeclare()
public int getScope()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |