public class VariableInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
AT_BEGIN |
static int |
AT_END |
static int |
NESTED
Different types of scope for an scripting variable introduced
by this action
|
| Constructor and Description |
|---|
VariableInfo(java.lang.String varName,
java.lang.String className,
boolean declare,
int scope)
Constructor
These objects can be created (at translation time) by the TagExtraInfo
instances.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName() |
boolean |
getDeclare() |
int |
getScope() |
java.lang.String |
getVarName() |
public static final int NESTED
NESTED ==> variable is visible only within the start/end tags AT_BEGIN ==> variable is visible after start tag AT_END ==> variable is visible after end tag
public static final int AT_BEGIN
public static final int AT_END
public VariableInfo(java.lang.String varName,
java.lang.String className,
boolean declare,
int scope)
id - The name of the scripting variableclassName - The name of the scripting variabledeclare - If true, it is a new variable (in some languages this will
require a declaration)scope - Indication on the lexical scope of the variableCopyright © 1999-2000 The Apache Software Foundation. All Rights Reserved.