| java.lang.Object javax.servlet.jsp.tagext.TagVariableInfo
TagVariableInfo | public class TagVariableInfo (Code) | | 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>
since: JSP 1.2 |
Constructor Summary | |
public | TagVariableInfo(String nameGiven, String nameFromAttribute, String className, boolean declare, int scope) Creates information for a variable. |
TagVariableInfo | public TagVariableInfo(String nameGiven, String nameFromAttribute, String className, boolean declare, int scope)(Code) | | Creates information for a variable.
Parameters: nameGiven - name of the variable Parameters: nameFromAttribute - name of the variable Parameters: className - the java classname of the variable Parameters: declare - true if the variable should be declared Parameters: scope - the scope of the variable |
getClassName | public String getClassName()(Code) | | Returns the variable's Java class.
|
getDeclare | public boolean getDeclare()(Code) | | True if the variable should be declared. If false, the JSP engine
assumes the variable is already declared and just assigns the value.
|
getNameFromAttribute | public String getNameFromAttribute()(Code) | | Returns the attribute name that will contain the variable name
|
getNameGiven | public String getNameGiven()(Code) | | Returns the variable name, if it's static.
|
getScope | public int getScope()(Code) | | Returns the variable's scope.
- AT_BEGIN - available as soon as the tag starts
- NESTED - only available in the tag body
- AT_END - only available after the tag ends.
|
|
|