VariableInfo Class | |
public class VariableInfo extends Object | |
Object VariableInfo A VariableInfo object contains information on the scripting variables that are created or modified by a tag at runtime. |
VariableInfo() | |
public VariableInfo(String varName, String className, boolean declare, int scope) | Constructor |
Creates a VariableInfo object. The declare parameter is true if if the variable is new and may require a declaration. The scope must be one of the scope constants defined below |
NESTED | |
public static final int NESTED | Constant |
If a variable is given the NESTED scope, it is visible within the start and end tags. |
AT_BEGIN | |
public static final int AT_BEGIN | Constant |
If a variable is given the AT_BEGIN scope, it is visible after the start tag. |
AT_END | |
public static final int AT_END | Constant |
If a variable is given the AT_END scope, it is visible after the end tag. |
getVarName() | |
public String getVarName() | Method |
getVarName() returns the name of the scripting variable. |
getClassName() | |
public String getClassName() | Method |
getClassName() returns the name of the class of the scripting variable. |
getDeclare() | |
public boolean getDeclare() | Method |
getDeclare() returns true if the variable is new and may require a declaration. |
getScope() | |
public int getScope() | Method |
getScope() returns the scope of the scripting variable. |