| Enum Constant and Description |
|---|
ANONYMOUS
Each
<block>, <filled>, and
<catch> element defines a new anonymous scope. |
APPLICATION
Scope that are children of the application root document's
<vxml> element. |
DIALOG
Each dialog (
<form> or <menu>) has
a dialog scope that exists while the user is visiting that dialog, and
which is visible to the elements of that dialog. |
DOCUMENT
Scope that is declared within document's
<vxml>
element. |
SESSION
Scope for a user's session.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Retrieve the scope's name.
|
static Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scope SESSION
public static final Scope APPLICATION
<vxml> element. It is entered when the application
root document is loaded. It exists while the application root document
is loaded, is visible to the root document and any other loaded
application leaf document.public static final Scope DOCUMENT
<vxml>
element. It is initialized when the document is loaded. It exists while
the document is loaded. It is visible only within that document, unless
the document is an application root, in which case it is visible by leaf
documents through the application scope only.public static final Scope DIALOG
<form> or <menu>) has
a dialog scope that exists while the user is visiting that dialog, and
which is visible to the elements of that dialog.public static final Scope ANONYMOUS
<block>, <filled>, and
<catch> element defines a new anonymous scope.public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()